zachinglis / crummy

Tasty breadcrumbs! Crummy is a simple and tasty way to add breadcrumbs to your Rails applications.
http://zachinglis.com
MIT License
358 stars 82 forks source link

add possibility to add options to breadcrumb link #43

Closed Raelf closed 11 years ago

Raelf commented 11 years ago

Hello, I added an option to give a title to the breadcrumb link. You can add the title with this call:

add_crumb "Home", '/', link_html_options: {title: "my link title"}
andrew commented 11 years ago

Looks good, can you add some documentation to the readme and I'll merge it in.

Thanks!

Raelf commented 11 years ago

I added some information to the exemple block.

andrew commented 11 years ago

Awesome, thanks!

andrew commented 11 years ago

Can you update your branch to match the current master so I can merge it in.

Raelf commented 11 years ago

Oh sorry. I didn't check that after update the readme. I also deleted a code line in the last commit. It was never called.

andrew commented 11 years ago

Great, thanks!