mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
added tests
This commit is contained in:
parent
3f8a99d8ca
commit
1cc6f2576f
6 changed files with 55 additions and 9 deletions
|
@ -53,7 +53,7 @@ module Admin
|
|||
dp = ignore_empty_statuses
|
||||
@domain.is_admin = true
|
||||
@domain.admin_status_update dp[:statuses]
|
||||
|
||||
|
||||
if @domain.update(dp)
|
||||
flash[:notice] = I18n.t('domain_updated')
|
||||
redirect_to [:admin, @domain]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue