Module: BaseHelper

Defined in:
app/helpers/base_helper.rb

Instance Method Summary collapse

Instance Method Details

#hide_team_resource_menus?Boolean

TODO This is for the billing package to override, but I feel like there has got to be a better way to do this.

Returns:

  • (Boolean)


3
4
5
6
7
8
9
# File 'app/helpers/base_helper.rb', line 3

def hide_team_resource_menus?
  if billing_enabled?
    current_team.needs_billing_subscription?
  else
    false
  end
end