Domain update with ns delete

This commit is contained in:
Martin Lensment 2015-03-06 17:29:27 +02:00
parent bcc4df6bed
commit fa28f09ff0
3 changed files with 45 additions and 18 deletions

View file

@ -17,7 +17,7 @@ class Admin::DomainsController < AdminController
def update
add_prefix_to_statuses
binding.pry
if @domain.update(domain_params)
flash[:notice] = I18n.t('domain_updated')
redirect_to [:admin, @domain]