dev_local_2
p31729568 5 years ago
parent 93a123f25a
commit 3f637947f8

@ -48,6 +48,8 @@ class Ecs::RequirementSupportObjectivesController < Ecs::BaseController
end
def permit_params
params.require(%i[ec_graduation_requirement_id ec_training_subitem_id])
hash = params.permit(%i[ec_graduation_requirement_id ec_training_subitem_id])
hash[:ec_training_objective_id] = hash.delete(:ec_training_subitem_id)
hash
end
end
Loading…
Cancel
Save