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.6.12 app/helpers/base_helper.rb
bullet_train-1.6.11 app/helpers/base_helper.rb
bullet_train-1.6.10 app/helpers/base_helper.rb
bullet_train-1.6.9 app/helpers/base_helper.rb
bullet_train-1.6.8 app/helpers/base_helper.rb
bullet_train-1.6.7 app/helpers/base_helper.rb
bullet_train-1.6.6 app/helpers/base_helper.rb
bullet_train-1.6.5 app/helpers/base_helper.rb
bullet_train-1.6.4 app/helpers/base_helper.rb
bullet_train-1.6.3 app/helpers/base_helper.rb
bullet_train-1.6.2 app/helpers/base_helper.rb
bullet_train-1.6.1 app/helpers/base_helper.rb
bullet_train-1.6.0 app/helpers/base_helper.rb
bullet_train-1.5.2 app/helpers/base_helper.rb
bullet_train-1.5.1 app/helpers/base_helper.rb
bullet_train-1.5.0 app/helpers/base_helper.rb
bullet_train-1.4.11 app/helpers/base_helper.rb
bullet_train-1.4.10 app/helpers/base_helper.rb
bullet_train-1.4.9 app/helpers/base_helper.rb
bullet_train-1.4.8 app/helpers/base_helper.rb