Promote Collection to proper namespace

This commit is contained in:
Claudio Ortolina
2024-11-20 15:26:31 +00:00
parent c465db4981
commit b8f3bb9b2c
9 changed files with 50 additions and 50 deletions
@@ -1,4 +1,4 @@
defmodule MusicLibraryWeb.RecordLive.Index do
defmodule MusicLibraryWeb.CollectionLive.Index do
use MusicLibraryWeb, :live_view
import MusicLibraryWeb.Pagination
@@ -1,4 +1,4 @@
defmodule MusicLibraryWeb.RecordLive.Show do
defmodule MusicLibraryWeb.CollectionLive.Show do
use MusicLibraryWeb, :live_view
alias MusicLibrary.Records
+5 -5
View File
@@ -32,12 +32,12 @@ defmodule MusicLibraryWeb.Router do
live "/", StatsLive.Index, :index
live "/records", RecordLive.Index, :index
live "/records/import", RecordLive.Index, :import
live "/records/:id/edit", RecordLive.Index, :edit
live "/records", CollectionLive.Index, :index
live "/records/import", CollectionLive.Index, :import
live "/records/:id/edit", CollectionLive.Index, :edit
live "/records/:id", RecordLive.Show, :show
live "/records/:id/show/edit", RecordLive.Show, :edit
live "/records/:id", CollectionLive.Show, :show
live "/records/:id/show/edit", CollectionLive.Show, :edit
live "/wishlist", WishlistLive.Index, :index
live "/wishlist/import", WishlistLive.Index, :import