Skip to content

Commit

Permalink
add resources "/hits", HitController to router.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed May 3, 2019
1 parent 756e685 commit bc27a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hits_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ defmodule HitsWeb.Router do

scope "/", HitsWeb do
pipe_through :browser

get "/", PageController, :index
resources "/hits", HitController
end

# Other scopes may use custom stacks.
Expand Down

0 comments on commit bc27a93

Please sign in to comment.