Module: Api::V1::Scaffolding::AbsolutelyAbstract::CreativeConceptsController::StrongParameters

Included in:
Api::V1::Scaffolding::AbsolutelyAbstract::CreativeConceptsController
Defined in:
app/controllers/api/v1/scaffolding/absolutely_abstract/creative_concepts_controller.rb

Instance Method Summary collapse

Instance Method Details

#creative_concept_paramsObject

Only allow a list of trusted parameters through.



39
40
41
42
43
44
45
46
47
48
49
50
# File 'app/controllers/api/v1/scaffolding/absolutely_abstract/creative_concepts_controller.rb', line 39

def creative_concept_params
  strong_params = params.require(:scaffolding_absolutely_abstract_creative_concept).permit(
    *permitted_fields,
    :name,
    :description,
    *permitted_arrays
  )

  process_params(strong_params)

  strong_params
end