Performances to nav.
This commit is contained in:
@@ -18,6 +18,8 @@ defmodule RunosaariWeb.Router do
|
|||||||
|
|
||||||
get "/", PageController, :index
|
get "/", PageController, :index
|
||||||
resources "/performers", PerformerController
|
resources "/performers", PerformerController
|
||||||
|
resources "/performances", PerformanceController
|
||||||
|
resources "/locations", LocationController
|
||||||
end
|
end
|
||||||
|
|
||||||
# Other scopes may use custom stacks.
|
# Other scopes may use custom stacks.
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
<nav class="nav" role="navigation">
|
<nav class="nav" role="navigation">
|
||||||
<%= link "Etusivu", to: Routes.page_path(@conn, :index) %>
|
<%= link "Etusivu", to: Routes.page_path(@conn, :index) %>
|
||||||
<%= link "Esiintyjät", to: Routes.performer_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) %>
|
<%= link "Ilmoittautuminen", to: Routes.performer_path(@conn, :new) %>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
Reference in New Issue
Block a user