Module: IconTag::ViewHelpers
- Defined in:
- lib/icon_tag/view_helpers.rb
Instance Method Summary collapse
Instance Method Details
#icon_tag(icon) ⇒ Object
4 5 6 |
# File 'lib/icon_tag/view_helpers.rb', line 4 def icon_tag(icon) content_tag :i, nil, class: "fa fa-#{icon}" end |