This commit is contained in:
@ -40,7 +40,7 @@
|
||||
</form>
|
||||
</:code_actions>
|
||||
<.link
|
||||
patch={~p"/invites/#{invite}/edit"}
|
||||
patch={~p"/invites/edit/#{invite}"}
|
||||
class="text-primary-600 link"
|
||||
aria-label={
|
||||
dgettext("actions", "Edit invite for %{invite_name}", invite_name: invite.name)
|
||||
|
@ -112,7 +112,7 @@ defmodule CanneryWeb.Router do
|
||||
live_session :admin, on_mount: [{CanneryWeb.UserAuth, :ensure_admin}] do
|
||||
live "/invites", InviteLive.Index, :index
|
||||
live "/invites/new", InviteLive.Index, :new
|
||||
live "/invites/:id/edit", InviteLive.Index, :edit
|
||||
live "/invites/edit/:id", InviteLive.Index, :edit
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user