Fix ImportsController param to permit :mode (#13347)
parent
a6f9f5aaaa
commit
1c2a286244
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue