From 67573dfa9095dc5c362becf6ffb51d4e7e036f8f Mon Sep 17 00:00:00 2001 From: codevictory Date: Tue, 30 Mar 2021 22:07:07 +0300 Subject: [PATCH] Dynamic nav bar links. --- lib/runosaari_web/templates/layout/app.html.eex | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/runosaari_web/templates/layout/app.html.eex b/lib/runosaari_web/templates/layout/app.html.eex index b9dfe17..e2ff7a3 100644 --- a/lib/runosaari_web/templates/layout/app.html.eex +++ b/lib/runosaari_web/templates/layout/app.html.eex @@ -13,12 +13,11 @@ -
+
- Etusivu - Kalenteri - Esiintyjät - Yhteystiedot + <%= 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) %>