uberkit 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/uberkit/menu.rb +1 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
data/lib/uberkit/menu.rb
CHANGED
@@ -22,7 +22,7 @@ module Uberkit
|
|
22
22
|
classes << "current" if merits_current?(contents,options,url_for_options)
|
23
23
|
classes << "disabled" if options.delete(:disabled)
|
24
24
|
classes << classes.join("_") if classes.size > 1
|
25
|
-
classes << options[:html].delete(:class)
|
25
|
+
classes << options[:html].delete(:class) if options[:html]
|
26
26
|
content_tag(:li, contents, options[:html].merge(:class => classes.join(" ")))
|
27
27
|
end
|
28
28
|
|