Actions
Refactor #11858
closedhost_inherited_params logic to get ancestry parameters is duplicated
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.
Updated by The Foreman Bot about 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2735 added
- Pull request deleted (
)
Updated by Shlomi Zadok about 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset d7b8c7ada64806052fd510d82cf1afafb99ba9a4.
Updated by Dominic Cleal about 9 years ago
- Category set to Rails
- Assignee set to Shlomi Zadok
- Translation missing: en.field_release set to 63
Actions