Archive page

This commit is contained in:
2022-05-04 00:51:29 +03:00
parent 1a292afa57
commit 3be2ea0b88
10 changed files with 58 additions and 8 deletions

View File

@@ -16,14 +16,15 @@ defmodule RunosaariWeb.Router do
scope "/", RunosaariWeb do
pipe_through :browser
resources "/", IndexController, only: [:index]
get "/", IndexController, :index
get "/safety", PageController, :safety
get "/privacy", PageController, :privacy
resources "/performers", PerformerController, only: [:index, :show]
resources "/performances", PerformanceController, only: [:index]
get "/performances", PerformanceController, :index
resources "/visitors", VisitorController, only: [:new, :create]
get "/confirmation", VisitorController, :confirmation
resources "/info", InfoController, only: [:index]
get "/info", InfoController, :index
get "/archive", ArchiveController, :index
end
scope "/admin", RunosaariWeb, as: :admin do