Skip to content
Snippets Groups Projects
Verified Commit 9ceb75b7 authored by Alexander Olofsson's avatar Alexander Olofsson
Browse files

Prepare for zeitwerk

parent d2e973a2
No related branches found
No related tags found
No related merge requests found
Pipeline #141974 failed
......@@ -7,9 +7,11 @@ module ForemanCement
config.autoload_paths += Dir["#{config.root}/app/lib"]
config.autoload_paths += Dir["#{config.root}/app/controllers/concerns"]
initializer 'foreman_cement.register_plugin', before: :finisher_hook do |_app|
Foreman::Plugin.register :foreman_cement do
requires_foreman '>= 3.0'
initializer 'foreman_cement.register_plugin', before: :finisher_hook do |app|
app.reloader.to_prepare do
Foreman::Plugin.register :foreman_cement do
requires_foreman '>= 3.12'
end
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment