Permalink
Browse files

# Made the items html_safe for rails 3

  • Loading branch information...
1 parent 2fc237f commit ad7bf45db1845e9299e9da39cf214866b608dd47 @priceflex committed Oct 24, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/navigation.rb
View
@@ -54,7 +54,7 @@ def navigation(sections, options={})
end
return '' if items.blank?
- content_tag(:ul, items, :class => 'navigation')
+ content_tag(:ul, items.to_s.html_safe, :class => 'navigation') # Made the items html_safe for rails 3
end
private

0 comments on commit ad7bf45

Please sign in to comment.