Skip to content

Commit

Permalink
add live("/", Counter) to router.ex #1
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Mar 9, 2020
1 parent fcf34ac commit 008aaac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/live_view_counter_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ defmodule LiveViewCounterWeb.Router do
scope "/", LiveViewCounterWeb do
pipe_through :browser

get "/", PageController, :index
live("/", Counter)
end

# Other scopes may use custom stacks.
Expand Down

0 comments on commit 008aaac

Please sign in to comment.