mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 05:05:45 +02:00
Ignore domain_name attribute on dispute update
This commit is contained in:
parent
5fabfc7f24
commit
f73833e478
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ module Admin
|
|||
|
||||
# PATCH/PUT /admin/disputes/1
|
||||
def update
|
||||
if @dispute.update(dispute_params)
|
||||
if @dispute.update(dispute_params.except(:domain_name))
|
||||
redirect_to admin_disputes_url, notice: 'Dispute was successfully updated.'
|
||||
else
|
||||
render :edit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue