Module: SocialGlyphHelper
- Defined in:
- app/helpers/social_glyph_helper.rb
Instance Method Summary collapse
-
#social_glyph(icon, *args) ⇒ Object
Examples social_glyph(:dropbox, :large) # => social_glyph(:dropbox) # => .
Instance Method Details
#social_glyph(icon, *args) ⇒ Object
Examples
social_glyph(:dropbox, :large)
=>
social_glyph(:dropbox)
=>
8 9 10 11 |
# File 'app/helpers/social_glyph_helper.rb', line 8 def (icon, *args) size = args[0] content_tag :i, nil, :class => "social-icon #{icon} #{size unless size.nil?}" end |