Skip to content

Commit 01fcb0a

Browse files
committed
restore /swift path
1 parent 9909aa2 commit 01fcb0a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/algora_web/router.ex

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ defmodule AlgoraWeb.Router do
2929
scope "/", AlgoraWeb do
3030
pipe_through [:browser]
3131

32-
# if Application.compile_env(:algora, :swift_mode) do
33-
# live_session :root,
34-
# on_mount: [{AlgoraWeb.UserAuth, :current_user}] do
35-
# live "/", SwiftBountiesLive
36-
# end
37-
3832
get "/", RootController, :index
3933

4034
get "/set_context/:context", ContextController, :set
@@ -140,6 +134,7 @@ defmodule AlgoraWeb.Router do
140134

141135
live_session :root,
142136
on_mount: [{AlgoraWeb.UserAuth, :current_user}] do
137+
live "/swift", SwiftBountiesLive
143138
live "/:country_code", HomeLive, :index
144139
end
145140
end

0 commit comments

Comments
 (0)