Editable info paragraphs.

This commit is contained in:
codevictory
2021-06-12 00:16:35 +03:00
parent b128fea663
commit 61a2792dbe
17 changed files with 450 additions and 19 deletions

View File

@@ -17,13 +17,13 @@ defmodule RunosaariWeb.Router do
pipe_through :browser
resources "/", IndexController, only: [:index]
get "/info", PageController, :info
get "/covid19", PageController, :covid19
get "/privacy", PageController, :privacy
resources "/performers", PerformerController, only: [:index, :show]
resources "/performances", PerformanceController, only: [:index]
resources "/visitors", VisitorController, only: [:new, :create]
get "/confirmation", VisitorController, :confirmation
resources "/info", InfoController, only: [:index]
end
scope "/admin", RunosaariWeb, as: :admin do
@@ -36,6 +36,8 @@ defmodule RunosaariWeb.Router do
resources "/performers", PerformerController, except: [:index, :show]
resources "/performances", PerformanceController, except: [:index]
resources "/visitors", VisitorController, except: [:new, :create]
resources "/info", InfoController, except: [:index]
get "/info", InfoController, :admin
end
# Other scopes may use custom stacks.