mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Refactor domain create
This commit is contained in:
parent
08fb2966d4
commit
050e251a58
4 changed files with 134 additions and 22 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue