change invite path slightly
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -35,7 +35,7 @@
|
||||
</form>
|
||||
</:code_actions>
|
||||
<.link
|
||||
patch={~p"/invites/#{invite}/edit"}
|
||||
patch={~p"/invites/edit/#{invite}"}
|
||||
class="text-primary-400 link"
|
||||
aria-label={
|
||||
dgettext("actions", "edit invite for %{invite_name}", invite_name: invite.name)
|
||||
|
@ -95,7 +95,7 @@ defmodule MemexWeb.Router do
|
||||
live_session :admin, on_mount: [{MemexWeb.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