lib/katello/plugin.rb in katello-4.0.0.rc2 vs lib/katello/plugin.rb in katello-4.0.0.rc3
- old
+ new
@@ -291,10 +291,10 @@
extend_page "smart_proxies/show" do |cx|
cx.add_pagelet :details_content,
:name => _('Storage'),
:partial => 'smart_proxies/show/storage',
- :onlyif => proc { |proxy| proxy.has_feature?(SmartProxy::PULP_FEATURE) || proxy.has_feature?(SmartProxy::PULP_NODE_FEATURE) }
+ :onlyif => proc { |proxy| proxy.has_feature?(SmartProxy::PULP_FEATURE) || proxy.has_feature?(SmartProxy::PULP_NODE_FEATURE) || proxy.has_feature?(SmartProxy::PULP3_FEATURE) }
end
register_facet Katello::Host::ContentFacet, :content_facet do
configure_host do
api_view :list => 'katello/api/v2/content_facet/base_with_root', :single => 'katello/api/v2/content_facet/show'