mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 21:25:39 +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
|
# PATCH/PUT /admin/disputes/1
|
||||||
def update
|
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.'
|
redirect_to admin_disputes_url, notice: 'Dispute was successfully updated.'
|
||||||
else
|
else
|
||||||
render :edit
|
render :edit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue