New pages for Info and Covid-19.

This commit is contained in:
codevictory
2021-04-22 22:04:11 +03:00
parent 4fb333e6d0
commit 36bf759c56
5 changed files with 66 additions and 2 deletions

View File

@@ -17,6 +17,8 @@ defmodule RunosaariWeb.Router do
pipe_through :browser
get "/", PageController, :index
get "/info", PageController, :info
get "/covid19", PageController, :covid19
resources "/performers", PerformerController, only: [:index, :show]
resources "/performances", PerformanceController, only: [:index, :show]
end
@@ -25,7 +27,7 @@ defmodule RunosaariWeb.Router do
pipe_through :browser
get "/performers", PerformerController, :admin
get "/performers", PerformanceController, :admin
get "/performances", PerformanceController, :admin
resources "/performers", PerformerController, except: [:index, :show]
resources "/performances", PerformanceController, except: [:index, :show]
end