Remove methods already provided by presenters

This commit is contained in:
Thong Kuah 2018-11-07 12:16:27 +13:00
parent 8b805d9369
commit a551758da2
1 changed files with 0 additions and 8 deletions

View File

@ -6,14 +6,6 @@ module ClustersHelper
false
end
def clusterable
@project || @group
end
def can_create_cluster?
can?(current_user, :create_cluster, clusterable)
end
def render_gcp_signup_offer
return if Gitlab::CurrentSettings.current_application_settings.hide_third_party_offers?
return unless show_gcp_signup_offer?