Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nigelramsay/breadcrumb_trail
Rails plugin to create a breadcrumb trail
https://github.com/nigelramsay/breadcrumb_trail
Last synced: about 2 months ago
JSON representation
Rails plugin to create a breadcrumb trail
- Host: GitHub
- URL: https://github.com/nigelramsay/breadcrumb_trail
- Owner: nigelramsay
- License: mit
- Created: 2008-07-28T07:30:09.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2009-04-07T03:23:58.000Z (over 15 years ago)
- Last Synced: 2023-04-11T17:06:09.235Z (over 1 year ago)
- Language: Ruby
- Homepage: http://www.abletech.co.nz/blog
- Size: 90.8 KB
- Stars: 13
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: MIT-LICENSE
Awesome Lists containing this project
README
Breadcrumb Trail
================Adds a breadcrumb trail to your Rails application.
In your action:
add_crumb :label => 'Admin', :link => administrators_path
add_crumb :label => 'Users', :link => admin_users_path
add_crumb :label => @user.nameIn your layout or view:
<%= crumbs %>
Generates something like:Style
-----You should use CSS to style the breadcrumb trail. See the example in public/stylesheets.
Copyright (c) 2008 Able Technology Limited (http://www.abletech.co.nz/blog), released under the MIT license