Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Merged
merged 1 commit into from

2 participants

@merqlove

Remove duplicate check of selected.

@mjtko mjtko merged commit 097c644 into from
@mjtko
Collaborator

Thanks @merqlove!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 17, 2013
  1. @merqlove

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

    merqlove authored
    Remove duplicate check of selected.
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.