Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.name

In 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