Skip to content

Commit

Permalink
phoenix_blog: manually add resource route
Browse files Browse the repository at this point in the history
  • Loading branch information
rmg committed Apr 20, 2017
1 parent 07de996 commit 7dc08e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions phoenix_blog/web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ defmodule PhoenixBlog.Router do
pipe_through :browser # Use the default browser stack

get "/", PageController, :index

resources "/users", UserController
end

# Other scopes may use custom stacks.
Expand Down

0 comments on commit 7dc08e4

Please sign in to comment.