diff --git a/lib/algora_web/live/show_live/index.html.heex b/lib/algora_web/live/show_live/index.html.heex index 3f9ee93..09455cc 100644 --- a/lib/algora_web/live/show_live/index.html.heex +++ b/lib/algora_web/live/show_live/index.html.heex @@ -1,7 +1,7 @@ <.header> Listing Shows <:actions> - <.link patch={~p"/admin/shows/new"}> + <.link patch={~p"/shows/new"}> <.button>New Show @@ -32,18 +32,13 @@ -<.modal - :if={@live_action in [:new, :edit]} - id="show-modal" - show - on_cancel={JS.patch(~p"/admin/shows")} -> +<.modal :if={@live_action in [:new, :edit]} id="show-modal" show on_cancel={JS.patch(~p"/shows")}> <.live_component module={AlgoraWeb.ShowLive.FormComponent} id={@show.id || :new} title={@page_title} action={@live_action} show={@show} - patch={~p"/admin/shows"} + patch={~p"/shows"} />