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, )
  description = Pageflow.config.quotas.get(name, ).state_description

  if description
    (:p, description, class: 'quota_state_description')
  end
end