Remove unused location view logic.

This commit is contained in:
codevictory
2021-04-22 21:52:02 +03:00
parent fff627fb53
commit 4fb333e6d0
10 changed files with 0 additions and 297 deletions

View File

@@ -19,7 +19,6 @@ defmodule RunosaariWeb.Router do
get "/", PageController, :index
resources "/performers", PerformerController, only: [:index, :show]
resources "/performances", PerformanceController, only: [:index, :show]
resources "/locations", LocationController, only: [:index, :show]
end
scope "/admin", RunosaariWeb, as: :admin do
@@ -27,10 +26,8 @@ defmodule RunosaariWeb.Router do
get "/performers", PerformerController, :admin
get "/performers", PerformanceController, :admin
get "/performers", LocationController, :admin
resources "/performers", PerformerController, except: [:index, :show]
resources "/performances", PerformanceController, except: [:index, :show]
resources "/locations", LocationController, except: [:index, :show]
end
# Other scopes may use custom stacks.