Performances to nav.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user