From a8e1afc30a1f843943bb29e7385b8611ea3c29f4 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Wed, 19 Apr 2017 09:37:42 -0400 Subject: Simplify render in controllers (#2144) --- app/controllers/admin/domain_blocks_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/admin') diff --git a/app/controllers/admin/domain_blocks_controller.rb b/app/controllers/admin/domain_blocks_controller.rb index 1932dc6a8..d40ec829b 100644 --- a/app/controllers/admin/domain_blocks_controller.rb +++ b/app/controllers/admin/domain_blocks_controller.rb @@ -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 -- cgit