Enable edit/delete/import records in the wishlist

This commit is contained in:
Claudio Ortolina
2024-10-21 18:51:26 +01:00
parent 020430cdb4
commit 4213f24ab8
4 changed files with 66 additions and 2 deletions
+4
View File
@@ -39,7 +39,11 @@ defmodule MusicLibraryWeb.Router do
live "/records/:id/show/edit", RecordLive.Show, :edit
live "/wishlist", WishlistLive.Index, :index
live "/wishlist/import", WishlistLive.Index, :import
live "/wishlist/:id/edit", WishlistLive.Index, :edit
live "/wishlist/:id", WishlistLive.Show, :show
live "/wishlist/:id/show/edit", WishlistLive.Show, :edit
end
end