Guest User

Untitled

a guest
Oct 17th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. diff --git a/app/controllers/enumerations_controller.rb b/app/controllers/enumerations_controller.rb
  2. index 985e988bc..e5e3cc3de 100644
  3. --- a/app/controllers/enumerations_controller.rb
  4. +++ b/app/controllers/enumerations_controller.rb
  5. @@ -105,6 +105,6 @@ class EnumerationsController < ApplicationController
  6.  
  7. def enumeration_params
  8. # can't require enumeration on #new action
  9. - params.permit(:enumeration => [:name, :active, :is_default])[:enumeration]
  10. + params.permit(:enumeration => [:name, :active, :is_default, :position])[:enumeration]
  11. end
  12. end
Add Comment
Please, Sign In to add comment