Module: Pageflow::QuotaHelper
- Included in:
- Admin::UsersHelper
- 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(name, account).state_description if description content_tag(:p, description, class: 'quota_state_description') end end |