seyhunak / twitter-bootstrap-rails

Twitter Bootstrap for Rails 6.0, Rails 5 - Rails 4.x Asset Pipeline
https://github.com/seyhunak/twitter-bootstrap-rails
4.5k stars 996 forks source link

Fix error 'no implicit conversion of Symbol into Integer' #765

Closed iguto closed 10 years ago

iguto commented 10 years ago

glyph(:pencil) raises error no implicit conversion of Symbol into Integer. This commit fixes the error.

toadkicker commented 10 years ago

Hm we should probably have it be def glyph(*names, options={}) ?

toadkicker commented 10 years ago

FWIW the next commit is a glyph_helper_spec to prevent this from happening again.