app/helpers/pageflow/quota_helper.rb in pageflow-12.0.4 vs app/helpers/pageflow/quota_helper.rb in pageflow-12.1.0

- old
+ new

@@ -1,11 +1,11 @@ module Pageflow module QuotaHelper def quota_state_description(name, account) - description = Pageflow.config.quotas.get(:users, account).state_description + description = Pageflow.config.quotas.get(name, account).state_description if description - content_tag(:p, description, :class => 'quota_state') + content_tag(:p, description, class: 'quota_state_description') end end end end