mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Story #104525314 - restore missing change, admin controller flag skips validation
This commit is contained in:
parent
2c717d247a
commit
eda586d8c4
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ class Admin::DomainsController < AdminController
|
||||||
|
|
||||||
def update
|
def update
|
||||||
dp = ignore_empty_statuses
|
dp = ignore_empty_statuses
|
||||||
|
@domain.is_admin = true
|
||||||
|
|
||||||
if @domain.update(dp)
|
if @domain.update(dp)
|
||||||
flash[:notice] = I18n.t('domain_updated')
|
flash[:notice] = I18n.t('domain_updated')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue