Fix invites form path (#5861)
This commit is contained in:
parent
df03042a6e
commit
eee3b32b77
2 changed files with 7 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
= simple_form_for(@invite) do |f|
|
||||
= simple_form_for(@invite, url: controller.is_a?(Admin::InvitesController) ? admin_invites_path : invites_path) do |f|
|
||||
= render 'shared/error_messages', object: @invite
|
||||
|
||||
.fields-group
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue