Merge branch '104525314-domain-object-states' into staging to apply bug fixes

This commit is contained in:
Matt Farnsworth 2015-11-05 13:12:08 +02:00
commit d72b3518b2
4 changed files with 5 additions and 9 deletions

View file

@ -46,6 +46,7 @@ class Admin::DomainsController < AdminController
def update
dp = ignore_empty_statuses
@domain.is_admin = true
if @domain.update(dp)
flash[:notice] = I18n.t('domain_updated')