Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

properly prepend ClassMethods for ProvisioningTemplate #29

Closed
wants to merge 1 commit into from

Conversation

evgeni
Copy link

@evgeni evgeni commented May 17, 2024

No description provided.

@@ -54,7 +54,7 @@ class Engine < ::Rails::Engine
Host::Managed.prepend ForemanRescue::HostExtensions
HostsHelper.prepend ForemanRescue::HostsHelperExtensions
Nic::Managed.prepend ForemanRescue::Orchestration::TFTP
ProvisioningTemplate.prepend ForemanRescue::ProvisioningTemplateExtensions
ProvisioningTemplate.singleton_class.prepend ForemanRescue::ProvisioningTemplateExtensions::ClassMethods
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The place I stole this idea from uses .send :prepend and I have no idea why 🙈

@laugmanuel
Copy link
Member

obsoleted by #28

@laugmanuel laugmanuel closed this May 17, 2024
@evgeni evgeni deleted the prepend branch May 17, 2024 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants