Performances to nav.

This commit is contained in:
codevictory
2021-03-30 22:59:30 +03:00
parent 1404f1d7bb
commit 1239dd7fd7
2 changed files with 3 additions and 0 deletions

View File

@@ -18,6 +18,8 @@ defmodule RunosaariWeb.Router do
get "/", PageController, :index
resources "/performers", PerformerController
resources "/performances", PerformanceController
resources "/locations", LocationController
end
# Other scopes may use custom stacks.

View File

@@ -17,6 +17,7 @@
<nav class="nav" role="navigation">
<%= link "Etusivu", to: Routes.page_path(@conn, :index) %>
<%= link "Esiintyjät", to: Routes.performer_path(@conn, :index) %>
<%= link "Ohjelma", to: Routes.performance_path(@conn, :index) %>
<%= link "Ilmoittautuminen", to: Routes.performer_path(@conn, :new) %>
</nav>
</header>