Refactor #11858
closed
host_inherited_params logic to get ancestry parameters is duplicated
Added by Daniel Lobato Garcia over 9 years ago.
Updated over 6 years ago.
Description
host_inherited_params on app/models/host/managed.rb tries to get organization/location/hostgroup parameters, including ancestry.
The logic to do it is exactly the same for all 3 models, so it should be combined somehow to reduce code duplication.
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2735 added
- Pull request deleted (
)
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Category set to Rails
- Assignee set to Shlomi Zadok
- Translation missing: en.field_release set to 63
Also available in: Atom
PDF