Skip to content

Commit

Permalink
phoenix_blog: manually add /posts resource route
Browse files Browse the repository at this point in the history
  • Loading branch information
rmg committed Apr 20, 2017
1 parent a2b22c8 commit c603e41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions phoenix_blog/web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ defmodule PhoenixBlog.Router do
get "/", PageController, :index

resources "/users", UserController
resources "/posts", PostController
end

# Other scopes may use custom stacks.
Expand Down

0 comments on commit c603e41

Please sign in to comment.