danielres/expresto_BDD

View on GitHub
app/helpers/icons_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
module IconsHelper

  def icon(name)
    name = name.to_s.sub('_','-')
    content_tag(:i, '', class: "icon-#{name}") + ' '.html_safe
  end

end