Module: Hashtags::ViewHelper
- Defined in:
- app/helpers/hashtags/view_helper.rb
Instance Method Summary collapse
Instance Method Details
#render_hashtags_help_for(cls, field_name) ⇒ Object
3 4 5 6 |
# File 'app/helpers/hashtags/view_helper.rb', line 3 def (cls, field_name) return unless help = cls.[field_name.to_s].help render 'hashtags/help', help: help end |