lib/active_admin/sidebar_section.rb in activeadmin-0.6.0 vs lib/active_admin/sidebar_section.rb in activeadmin-0.6.1
- old
+ new
@@ -14,10 +14,10 @@
def id
"#{name.to_s.downcase.underscore}_sidebar_section".parameterize
end
def icon?
- options[:icon]
+ !!options[:icon]
end
def icon
options[:icon] if icon?
end