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 Shlomi Zadok over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset d7b8c7ada64806052fd510d82cf1afafb99ba9a4.
Actions