I needed a stupid simple breadcrumb helper that was fast and didn’t require crazy configuration. I don’t need a high level of control, so I figured, lets just take the requested path and link the segments, and here we have it.
12345678def breadcrumbs(separator = ‘ > ‘, options = {})
(crumbs, previous) = [], []
request.path.split(’/').each [...]
-
Home > breadcrumbs