Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update lib/simple_navigation/rendering/renderer/breadcrumbs.rb

Remove duplicate check of selected.
  • Loading branch information...
commit dae21c875490d92a17000dcb16c8243e1a5c603a 1 parent 48683d7
@merqlove merqlove authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/simple_navigation/rendering/renderer/breadcrumbs.rb
View
2  lib/simple_navigation/rendering/renderer/breadcrumbs.rb
@@ -22,7 +22,7 @@ def render(item_container)
def a_tags(item_container)
item_container.items.inject([]) do |list, item|
if item.selected?
- list << tag_for(item) if item.selected?
+ list << tag_for(item)
if include_sub_navigation?(item)
list.concat a_tags(item.sub_navigation)
end
Please sign in to comment.
Something went wrong with that request. Please try again.