simple bread crumbs in ruby on rails
was posted on 09 Aug 07 at 3:55pm. it has been filed under code,ruby/rails and tagged with breadcrumbs, code, rails, ruby.
so far it has been commented on 4 times, you can add your own if you like. you can also ping the trackback url if you want, i don't mind.
related posts
archives
categories
below is a simple implementation of bread-crumbs for use in ruby on rails, you can pass in the level separator as the first argument and a boolean to indicate inclusion of home link.
it relies on the requested path to work out how to split the breadcrumbs, it alsoo requires that every component of your path is accessable, should be a good starting block though.
4 comments
add your own
Hey..
I was looking for breadcrumbs for a while in RoR, I haven’t tried your script. Can i know where i should insert this script in my code.
@naresh
you’d wanna put it in a helper, prolly your application helper to use it globally.
Brilliant in combination with the rails url-hack for pretty urls.
Great day, might be here is towards problem solely well, i’ve been performing research regarding your web site which’s why it is very evidently professional. I possess been developing a crisp new writings together with making an attempt get back look nice, every time as well as really feel a product i’ve spoil it. Suggestions regarding how onerous was noticed as the to site? Efficiently any particular person considerably enjoy me with out an happening do it, on top of which complete people increase web need to possess of wrecking receiving that carried out as well as?
2 pings