Dynamic nav bar links.
This commit is contained in:
@@ -15,10 +15,9 @@
|
||||
<body>
|
||||
<header >
|
||||
<nav class="nav" role="navigation">
|
||||
<a href="/">Etusivu</a>
|
||||
<a href="calendar.html">Kalenteri</a>
|
||||
<a href="performers.html">Esiintyjät</a>
|
||||
<a href="contact.html">Yhteystiedot</a>
|
||||
<%= link "Etusivu", to: Routes.page_path(@conn, :index) %>
|
||||
<%= link "Esiintyjät", to: Routes.performer_path(@conn, :index) %>
|
||||
<%= link "Ilmoittautuminen", to: Routes.performer_path(@conn, :new) %>
|
||||
</nav>
|
||||
</header>
|
||||
<main role="main">
|
||||
|
||||
Reference in New Issue
Block a user