Skip to content

Commit

Permalink
Part 4: Add route to router
Browse files Browse the repository at this point in the history
  • Loading branch information
thebrianemory committed Jan 15, 2019
1 parent fa0f402 commit bb6e814
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/catcasts_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ defmodule CatcastsWeb.Router do
get "/", PageController, :index
end

scope "/auth", CatcastsWeb do
pipe_through :browser

get "/:provider", SessionController, :request
end

# Other scopes may use custom stacks.
# scope "/api", CatcastsWeb do
# pipe_through :api
Expand Down

0 comments on commit bb6e814

Please sign in to comment.