Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/app/controllers/enumerations_controller.rb b/app/controllers/enumerations_controller.rb
- index 985e988bc..e5e3cc3de 100644
- --- a/app/controllers/enumerations_controller.rb
- +++ b/app/controllers/enumerations_controller.rb
- @@ -105,6 +105,6 @@ class EnumerationsController < ApplicationController
- def enumeration_params
- # can't require enumeration on #new action
- - params.permit(:enumeration => [:name, :active, :is_default])[:enumeration]
- + params.permit(:enumeration => [:name, :active, :is_default, :position])[:enumeration]
- end
- end
Add Comment
Please, Sign In to add comment