Simplify render in controllers (#2144)
This commit is contained in:
parent
bfbc2ca0d8
commit
a8e1afc30a
9 changed files with 27 additions and 27 deletions
|
@ -17,7 +17,7 @@ module Admin
|
|||
DomainBlockWorker.perform_async(@domain_block.id)
|
||||
redirect_to admin_domain_blocks_path, notice: I18n.t('admin.domain_blocks.created_msg')
|
||||
else
|
||||
render action: :new
|
||||
render :new
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue