Module: Dorsale::BootstrapHelper
- Included in:
- AllHelpers
- Defined in:
- app/helpers/dorsale/bootstrap_helper.rb
Instance Method Summary collapse
Instance Method Details
#icon(id) ⇒ Object
2 3 4 5 |
# File 'app/helpers/dorsale/bootstrap_helper.rb', line 2 def icon(id) id = id.to_s.gsub("_", "-") content_tag(:span, class: "icon fa fa-#{id}"){} end |