lib/katello/plugin.rb in katello-3.7.0.rc1 vs lib/katello/plugin.rb in katello-3.7.0.rc2

- old
+ new

@@ -1,19 +1,19 @@ require 'katello/permission_creator' require 'katello/repository_types.rb' # rubocop:disable Metrics/BlockLength Foreman::Plugin.register :katello do - requires_foreman '>= 1.17' + requires_foreman '>= 1.18' sub_menu :top_menu, :content_menu, :caption => N_('Content'), :icon => 'fa fa-book', :after => :monitor_menu do menu :top_menu, :red_hat_subscriptions, :caption => N_('Subscriptions'), :url => '/subscriptions', - :url_hash => {:controller => 'katello/api/v2/subscriptions', + :url_hash => {:controller => 'katello/react', :action => 'index'}, :engine => Katello::Engine, :turbolinks => false menu :top_menu, @@ -187,18 +187,9 @@ :url_hash => {:controller => 'katello/api/v2/host_collections', :action => 'index'}, :engine => Katello::Engine, :parent => :hosts_menu, :after => :content_hosts, - :turbolinks => false - - menu :labs_menu, - :experimental_ui, - :url => '/xui/subscriptions', - :url_hash => {:controller => 'katello/react', - :action => 'index'}, - :caption => N_('Red Hat Subscriptions'), - :parent => :lab_features_menu, :turbolinks => false allowed_template_helpers :subscription_manager_configuration_url, :repository_url search_path_override("Katello") do |resource| "/#{Katello::Util::Model.model_to_controller_path(resource)}/auto_complete_search"