Use default action of persisted records on edit forms (#35904)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
- content_for :page_title do
|
||||
= t('admin.domain_blocks.edit')
|
||||
|
||||
= simple_form_for @domain_block, url: admin_domain_block_path(@domain_block), method: :put do |form|
|
||||
= simple_form_for @domain_block, url: admin_domain_block_path(@domain_block) do |form|
|
||||
= render 'shared/error_messages', object: @domain_block
|
||||
|
||||
= render form
|
||||
|
||||
Reference in New Issue
Block a user