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.32 app/helpers/base_helper.rb
bullet_train-1.6.31 app/helpers/base_helper.rb
bullet_train-1.6.30 app/helpers/base_helper.rb
bullet_train-1.6.29 app/helpers/base_helper.rb
bullet_train-1.6.28 app/helpers/base_helper.rb
bullet_train-1.6.27 app/helpers/base_helper.rb
bullet_train-1.6.26 app/helpers/base_helper.rb
bullet_train-1.6.25 app/helpers/base_helper.rb
bullet_train-1.6.24 app/helpers/base_helper.rb
bullet_train-1.6.23 app/helpers/base_helper.rb
bullet_train-1.6.22 app/helpers/base_helper.rb
bullet_train-1.6.21 app/helpers/base_helper.rb
bullet_train-1.6.20 app/helpers/base_helper.rb
bullet_train-1.6.19 app/helpers/base_helper.rb
bullet_train-1.6.18 app/helpers/base_helper.rb
bullet_train-1.6.17 app/helpers/base_helper.rb
bullet_train-1.6.16 app/helpers/base_helper.rb
bullet_train-1.6.15 app/helpers/base_helper.rb
bullet_train-1.6.14 app/helpers/base_helper.rb
bullet_train-1.6.13 app/helpers/base_helper.rb