add admin home route
This commit is contained in:
parent
d6521c4303
commit
abeb71ef93
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue