Actions
Refactor #38983
closedHostsController#template_used - find resource in before_action
Difficulty:
Triaged:
No
Description
Defining the @host variable in dedicated methods simplifies customization,
particularly for the foreman_discovery plugin,
where `Host::Discovered` is transformed into `Host::Managed`.
Actions