From 1239dd7fd7cc9b159d45e839797c3fa06b31b741 Mon Sep 17 00:00:00 2001 From: codevictory Date: Tue, 30 Mar 2021 22:59:30 +0300 Subject: [PATCH] Performances to nav. --- lib/runosaari_web/router.ex | 2 ++ lib/runosaari_web/templates/layout/app.html.eex | 1 + 2 files changed, 3 insertions(+) diff --git a/lib/runosaari_web/router.ex b/lib/runosaari_web/router.ex index 59be16f..a977523 100644 --- a/lib/runosaari_web/router.ex +++ b/lib/runosaari_web/router.ex @@ -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. diff --git a/lib/runosaari_web/templates/layout/app.html.eex b/lib/runosaari_web/templates/layout/app.html.eex index e2ff7a3..88da7ff 100644 --- a/lib/runosaari_web/templates/layout/app.html.eex +++ b/lib/runosaari_web/templates/layout/app.html.eex @@ -17,6 +17,7 @@