Sha256: 52220de91cf40e439bc4ceb95f714318b4c3dae486b244997996d5b5a7cceefd

Contents?: true

Size: 275 Bytes

Versions: 166

Compression:

Stored size: 275 Bytes

Contents

module BaseHelper
  # TODO This is for the billing package to override, but I feel like there has got to be a better way to do this.
  def hide_team_resource_menus?
    if billing_enabled?
      current_team.needs_billing_subscription?
    else
      false
    end
  end
end

Version data entries

166 entries across 166 versions & 1 rubygems

Version Path
bullet_train-1.7.18 app/helpers/base_helper.rb
bullet_train-1.7.17 app/helpers/base_helper.rb
bullet_train-1.7.16 app/helpers/base_helper.rb
bullet_train-1.7.15 app/helpers/base_helper.rb
bullet_train-1.7.14 app/helpers/base_helper.rb
bullet_train-1.7.13 app/helpers/base_helper.rb
bullet_train-1.7.12 app/helpers/base_helper.rb
bullet_train-1.7.11 app/helpers/base_helper.rb
bullet_train-1.7.10 app/helpers/base_helper.rb
bullet_train-1.7.9 app/helpers/base_helper.rb
bullet_train-1.7.3 app/helpers/base_helper.rb
bullet_train-1.7.2 app/helpers/base_helper.rb
bullet_train-1.7.1 app/helpers/base_helper.rb
bullet_train-1.7.0 app/helpers/base_helper.rb
bullet_train-1.6.38 app/helpers/base_helper.rb
bullet_train-1.6.37 app/helpers/base_helper.rb
bullet_train-1.6.36 app/helpers/base_helper.rb
bullet_train-1.6.35 app/helpers/base_helper.rb
bullet_train-1.6.34 app/helpers/base_helper.rb
bullet_train-1.6.33 app/helpers/base_helper.rb