Module: Rubicons::LineAwesome::RailsHelper
- Included in:
- Phlex
- Defined in:
- lib/rubicons/line_awesome/rails_helper.rb
Overview
Rails view helper for Line Awesome icons
Instance Method Summary collapse
Instance Method Details
#la_icon(name, options = {}) ⇒ Object
7 8 9 |
# File 'lib/rubicons/line_awesome/rails_helper.rb', line 7 def la_icon(name, = {}) Rubicons::LineAwesome.icon(name, **).html_safe end |
#la_icon!(name, options = {}) ⇒ Object
11 12 13 |
# File 'lib/rubicons/line_awesome/rails_helper.rb', line 11 def la_icon!(name, = {}) Rubicons::LineAwesome.icon!(name, **).html_safe end |