Sha256: 43ebc586a3144941a62b4770f1ac0a09fb2db2d9102ebdf5e44ec82ef4d98b69
Contents?: true
Size: 515 Bytes
Versions: 6
Compression:
Stored size: 515 Bytes
Contents
module KatelloForemanEngine #Inherit from the Rails module of the parent app (Foreman), not the plugin. #Thus, inhereits from ::Rails::Engine and not from Rails::Engine class Engine < ::Rails::Engine config.after_initialize do require 'katello_foreman_engine/helpers' require 'katello_foreman_engine/settings' Settings.initialize_settings require 'katello_foreman_engine/bindings' Dir[File.expand_path('../actions/*.rb', __FILE__)].each { |f| require f } end end end
Version data entries
6 entries across 6 versions & 1 rubygems