0.0
No commit activity in last 3 years
No release in over 3 years
A rather simple gem for generating breadcrumbs in a Rails project
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.5.6
>= 2.1.0
 Project Readme

Gretel

A painfully simple tool for generating Rails based breadcrumbs.

Given


Widget.find(1).to_s == ‘widget named sue’

and

Routed Resource of :widgets

When


Gretel.new(‘/widgets/1’).to_s

Then we get the following HTML


<div id="breadcrumb_trail"> <p> <a href='/'>home</a> &raquo; <a href="/widgets">widgets</a> &raquo; <a href="/widgets/1">widget named sue</a>


Thank You

Thank you John Nunemaker (http://github.com/jnunemaker) for saying the original name sucked; In hindsight rails-breadcrumb-trail is kind of dumb.

Thank you Erik Runyon (http://github.com/erunyon) for the name. Much better than what it could have been.