Module: PolicyManager::TermsHelper
- Defined in:
- app/helpers/policy_manager/terms_helper.rb
Instance Method Summary collapse
Instance Method Details
#render_term_for(policy) ⇒ Object
4 5 6 7 |
# File 'app/helpers/policy_manager/terms_helper.rb', line 4 def render_term_for(policy) return if policy.nil? PolicyManager::Config.rules.find{|o| o.name == policy}.terms.published.last end |