Module: Pageflow::QuotaHelper
- Defined in:
- app/helpers/pageflow/quota_helper.rb
Instance Method Summary collapse
Instance Method Details
#quota_state_description(name, account) ⇒ Object
3 4 5 6 7 8 9 |
# File 'app/helpers/pageflow/quota_helper.rb', line 3 def quota_state_description(name, account) description = Pageflow.config.quotas.get(:users, @user.account).state_description if description content_tag(:p, description, :class => 'quota_state') end end |