Project

General

Profile

Actions

Refactor #38983

closed

HostsController#template_used - find resource in before_action

Added by Leos Stejskal 4 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Fixed in Releases:
Found in Releases:

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

Also available in: Atom PDF