gitlab-org--gitlab-foss/app/helpers/clusters_helper.rb
Thong Kuah 2c6a3f6a1a Remove method as using nested resource routes
We introduced hidden_clusterable_fields in this MR but it is no longer
needed as we have gone back to nested resource routes which should
provide the params such as `project_id`.
2018-11-02 10:40:56 +13:00

17 lines
418 B
Ruby

# frozen_string_literal: true
module ClustersHelper
# EE overrides this
def has_multiple_clusters?
false
end
def render_gcp_signup_offer
return if Gitlab::CurrentSettings.current_application_settings.hide_third_party_offers?
return unless show_gcp_signup_offer?
content_tag :section, class: 'no-animate expanded' do
render 'clusters/clusters/gcp_signup_offer_banner'
end
end
end