Module: Healthicons::Rails::ViewHelpers
- Defined in:
- lib/healthicons/rails/view_helpers.rb
Instance Method Summary collapse
-
#healthicon(icon, **options) ⇒ String
Allow the healthcare icon to be called in rails, so icons can be added to the views.
Instance Method Details
#healthicon(icon, **options) ⇒ String
Allow the healthcare icon to be called in rails, so icons can be added to the views
11 12 13 |
# File 'lib/healthicons/rails/view_helpers.rb', line 11 def healthicon(icon, **) Healthicons::Icon.call(icon, )&.html_safe end |