Remove autogenerated home route

Renders records instead.
This commit is contained in:
Claudio Ortolina
2024-09-27 19:59:15 +01:00
parent 97ebf13c7b
commit 60939a304b
5 changed files with 1 additions and 250 deletions
+1 -1
View File
@@ -17,9 +17,9 @@ defmodule MusicLibraryWeb.Router do
scope "/", MusicLibraryWeb do
pipe_through :browser
get "/", PageController, :home
get "/images/:record_id", ImageController, :show
live "/", RecordLive.Index, :index
live "/records", RecordLive.Index, :index
live "/records/import", RecordLive.Index, :import
live "/records/:id/edit", RecordLive.Index, :edit