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, )
  description = Pageflow.config.quotas.get(:users, @user.).state_description

  if description
    (:p, description, :class => 'quota_state')
  end
end