about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorTakeshi Umeda <noel.yoshiba@gmail.com>2020-03-31 19:43:42 +0900
committerGitHub <noreply@github.com>2020-03-31 12:43:42 +0200
commite4617c8ed87f5269566694f01554b5a9347691e5 (patch)
tree350b1b98c93f0795769b446b4a2556795be7b430 /app
parenta37ff2bd8b2a40ec820765f04a7e3790ebf32e1e (diff)
Fix ImportsController param to permit :mode (#13347)
Diffstat (limited to 'app')
-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 38f2e39c1..7b8c4ae23 100644
--- a/app/controllers/settings/imports_controller.rb
+++ b/app/controllers/settings/imports_controller.rb
@@ -29,6 +29,6 @@ class Settings::ImportsController < Settings::BaseController
   end
 
   def import_params
-    params.require(:import).permit(:data, :type)
+    params.require(:import).permit(:data, :type, :mode)
   end
 end