engines/bastion_katello/lib/bastion_katello/engine.rb in katello-3.10.2 vs engines/bastion_katello/lib/bastion_katello/engine.rb in katello-3.11.0.rc1

- old
+ new

@@ -12,10 +12,15 @@ db_migrated = !Foreman.in_setup_db_rake? && ActiveRecord::Base.connection.table_exists?(Setting.table_name) Bastion.register_plugin( :name => 'bastion_katello', - :javascript => 'bastion_katello/bastion_katello', + :javascript => proc do + [ + javascript_include_tag(*webpack_asset_paths('katello_common', :extension => 'js'), "data-turbolinks-track" => true), + javascript_include_tag('bastion_katello/bastion_katello') + ] + end, :stylesheet => 'bastion_katello/bastion_katello', :pages => %w( activation_keys content_credentials content_hosts