Refactor #22324
closed
Use parameter filter in API controllers
Added by Ondřej Pražák almost 7 years ago.
Updated over 6 years ago.
Description
In a controller, we currently pass the attributes we need from params hash manually one by one. We should use parameter filter to permit parameters and pass them to methods.
- Status changed from New to Ready For Testing
- Assignee set to Ondřej Pražák
- Pull request https://github.com/theforeman/foreman_templates/pull/75 added
- Translation missing: en.field_release set to 264
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF