weppos / breadcrumbs_on_rails

A simple Ruby on Rails plugin for creating and managing a breadcrumb navigation.
https://simonecarletti.com/code/breadcrumbs-on-rails
MIT License
944 stars 188 forks source link

Don't make links if path = nil #32

Closed mpartel closed 11 years ago

mpartel commented 12 years ago

Skips the <a> around an element if the element's path is nil. The second commit makes the second parameter of add_breadcrumb optional.

mpartel commented 12 years ago

Would handle issue #6.

lacco commented 12 years ago

+1 , works great!

revans commented 11 years ago

This has been merged into a forked repo here: https://github.com/revans/breadcrumbs_on_rails/pull/1

weppos commented 11 years ago

Great patch, merged!