about summary refs log tree commit diff
path: root/app/controllers/settings/imports_controller.rb
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-04-19 09:37:42 -0400
committerEugen <eugen@zeonfederated.com>2017-04-19 15:37:42 +0200
commita8e1afc30a1f843943bb29e7385b8611ea3c29f4 (patch)
treec37ec1d7c086943da8bb126fde19f312d5efcad9 /app/controllers/settings/imports_controller.rb
parentbfbc2ca0d8dcef47f8581585b42f13b6b4c933d9 (diff)
Simplify render in controllers (#2144)
Diffstat (limited to 'app/controllers/settings/imports_controller.rb')
-rw-r--r--app/controllers/settings/imports_controller.rb2
1 files changed, 1 insertions, 1 deletions
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