I love using Jan Kovařík's Glyphicons in my web app.
So much so that I've created a set of helpers to allow me to say things like
<%= glyphicon :remove %>
and
<%= link_to_glyphicon :remove, … %>
Here's the code.
You'll find:
- A Rake task to create the required data structures.
- The output of that Rake task (glyphicons.rb).
- And finally the helper that allows me to say.
Comments