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/settings/imports_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/settings/imports_controller.rb') diff --git a/app/controllers/settings/imports_controller.rb b/app/controllers/settings/imports_controller.rb index cbb5e65da..0db13d1ca 100644 --- a/app/controllers/settings/imports_controller.rb +++ b/app/controllers/settings/imports_controller.rb @@ -18,7 +18,7 @@ class Settings::ImportsController < ApplicationController ImportWorker.perform_async(@import.id) redirect_to settings_import_path, notice: I18n.t('imports.success') else - render action: :show + render :show end end -- cgit