Avoid calling freeze on already frozen strings in app/helpers
This commit is contained in:
parent
df6f1dd93f
commit
81d690ee1a
|
@ -1,9 +1,9 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module UserCalloutsHelper
|
||||
GKE_CLUSTER_INTEGRATION = 'gke_cluster_integration'.freeze
|
||||
GCP_SIGNUP_OFFER = 'gcp_signup_offer'.freeze
|
||||
SUGGEST_POPOVER_DISMISSED = 'suggest_popover_dismissed'.freeze
|
||||
GKE_CLUSTER_INTEGRATION = 'gke_cluster_integration'
|
||||
GCP_SIGNUP_OFFER = 'gcp_signup_offer'
|
||||
SUGGEST_POPOVER_DISMISSED = 'suggest_popover_dismissed'
|
||||
|
||||
def show_gke_cluster_integration_callout?(project)
|
||||
can?(current_user, :create_cluster, project) &&
|
||||
|
|
Loading…
Reference in New Issue