Defect #26564 » patch.diff
app/controllers/enumerations_controller.rb | ||
---|---|---|
105 | 105 | |
106 | 106 |
def enumeration_params |
107 | 107 |
# can't require enumeration on #new action |
108 |
params.permit(:enumeration => [:name, :active, :is_default])[:enumeration] |
|
108 |
params.permit(:enumeration => [:name, :active, :is_default, :position])[:enumeration]
|
|
109 | 109 |
end |
110 | 110 |
end |