Actions
Refactor #18237
openTurn Foreman::Renderer into a proper service object
Status:
New
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Description
Currently, Foreman::Renderer is a mixin included into various different object types, such as models, controllers and helpers.
The internal implementation of many functions relies on and sets various instance variables.
I suggest that it will be converted into a service object that receives various parameters (e.g. host) and handles rendering templates, while extracting logic that isn't directly related to this process into other objects.
No data to display
Actions