From 008aaaca697015cc944bca6b99cc654b1385b51e Mon Sep 17 00:00:00 2001 From: nelsonic Date: Mon, 9 Mar 2020 00:41:08 +0000 Subject: [PATCH] add live("/", Counter) to router.ex #1 --- lib/live_view_counter_web/router.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.