zachinglis/crummy — Issue #25: Manual passing with "add_crumb" results with additional, auto-generated elements
Author: pawelkomarnicki
Created: 2012-01-24 14:19:39+00:00
State: open

Hello,

I stumbled upon a very strange behaviour. What I want to do is to pass some breadcrumb elements and then render them at once with render_crumb:

```ruby
add_crumb "All categories", url_for(page_params)
add_crumb "Some category", url_for(page_params)
```

When I check the @_crumbs variable content I get:
```ruby
[["Alle Kategorien", "/catalog"], ["Some category", "/c/category"], ["Page", nil]]
```

Then when I want to render the breadcrumb in the view, I check it again and it contains:

```ruby
[["Alle Kategorien", "/catalog"], ["Some category", "/c/category"], ["Page", nil], ["Some category", "/catalog/shops/1?filter=top"], ["Bestseller-Shops", nil]]
```

Any clue why these last two elements get into the breadcrumb automatically?