Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeremyf/gretel
A painfully simple means of adding breadcrumbs to a rails project
https://github.com/jeremyf/gretel
Last synced: 3 months ago
JSON representation
A painfully simple means of adding breadcrumbs to a rails project
- Host: GitHub
- URL: https://github.com/jeremyf/gretel
- Owner: jeremyf
- Created: 2008-09-15T21:02:36.000Z (over 16 years ago)
- Default Branch: main
- Last Pushed: 2021-01-15T21:39:39.000Z (almost 4 years ago)
- Last Synced: 2024-04-24T23:21:41.506Z (8 months ago)
- Language: Ruby
- Homepage:
- Size: 7.81 KB
- Stars: 13
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
Awesome Lists containing this project
README
h1. 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*
h3. 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.