Sha256: 03f416a43d9c1234d225601383cf51ad64d541d3387ca59cf3bd320e69eab29e
Contents?: true
Size: 1.3 KB
Versions: 1
Compression:
Stored size: 1.3 KB
Contents
module BastionKatello class Engine < ::Rails::Engine isolate_namespace BastionKatello initializer 'bastion.assets_dispatcher', :before => :build_middleware_stack do |app| app.middleware.use ::ActionDispatch::Static, "#{BastionKatello::Engine.root}/app/assets/javascripts/bastion_katello" end initializer "bastion.assets.paths", :group => :all do |app| app.middleware.use ::ActionDispatch::Static, "#{BastionKatello::Engine.root}/app/assets/javascripts/bastion_katello" if defined? Less::Rails app.config.less.paths << "#{BastionKatello::Engine.root}/app/assets/stylesheets/bastion_katello" end end config.to_prepare do Bastion.register_plugin( :name => 'bastion_katello', :javascript => 'bastion_katello/bastion_katello', :stylesheet => 'bastion_katello/bastion_katello', :pages => %w( activation_keys content_hosts content_views docker_tags errata gpg_keys lifecycle_environments products subscriptions sync_plans host_collections katello_tasks select_organization ), :config => { 'consumerCertRPM' => Katello.config.consumer_cert_rpm } ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
katello-2.2.2 | engines/bastion_katello/lib/bastion_katello/engine.rb |