From abeb71ef933d2f52bd94a1ecfd39a3f14714075f Mon Sep 17 00:00:00 2001 From: inhji Date: Fri, 10 Mar 2023 10:01:52 +0100 Subject: [PATCH] add admin home route --- lib/chiya_web/router.ex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/chiya_web/router.ex b/lib/chiya_web/router.ex index db48bba..e74412f 100644 --- a/lib/chiya_web/router.ex +++ b/lib/chiya_web/router.ex @@ -50,6 +50,8 @@ defmodule ChiyaWeb.Router do scope "/admin", ChiyaWeb do pipe_through [:browser, :require_authenticated_user] + get "/", AdminController, :home + resources "/channels", ChannelController resources "/notes", NoteController, except: [:show] resources "/settings", SettingController, singleton: true