Module: GlyphHelper

Defined in:
app/helpers/glyph_helper.rb

Instance Method Summary collapse

Instance Method Details

#glyph(*names) ⇒ Object

Examples

glyph(:share_alt)

=>

glyph(:lock, :white)

=>



8
9
10
# File 'app/helpers/glyph_helper.rb', line 8

def glyph(*names)
   :i, nil, :class => names.map{|name| "icon-#{name.to_s.gsub('_','-')}" }
end