diff --git a/lib/live_view_counter_web/router.ex b/lib/live_view_counter_web/router.ex index f2c196bc..c855ba4a 100644 --- a/lib/live_view_counter_web/router.ex +++ b/lib/live_view_counter_web/router.ex @@ -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.