summaryrefslogtreecommitdiff
path: root/app/helpers/bizible_helper.rb
blob: 970cc6558da9f6166521880484e04afa6e2c4ecc (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

module BizibleHelper
  def bizible_enabled?
    Feature.enabled?(:ecomm_instrumentation, type: :ops) &&
      Gitlab.config.extra.has_key?('bizible') &&
      Gitlab.config.extra.bizible.present? &&
      Gitlab.config.extra.bizible == true
  end
end