add admin home route

This commit is contained in:
inhji 2023-03-10 10:01:52 +01:00
parent d6521c4303
commit abeb71ef93

View file

@ -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