zachinglis/crummy — pull request #39 by adam-pl (2013-04-15 12:58:41+00:00)
Title: Last breadcrumb set as not linked

Added "can_link" param to verify if current breadcrumb must be linked (see methods: crumb_to_html, crumb_to_html_list).

I've done it because in my web project last breadcrumb is connected with visited page. In this case breadcrumb should not be linked.

Well, it's not perfect solution. I would like to have method that checks this condition automatically with using "current_page?" helper method.

It's hard to do now because context is required. For details how to do that see "breadcrumbs_on_rails" gem.

Thank you.