Simplify render in controllers (#2144)
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user