No commit activity in last 3 years
No release in over 3 years
Adds a breadcrumb trail to your Rails application.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 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:

<ol class="breadcrumb">
  <li class="first"><a href="/">Home</a></li>
  <li><a href="/administrators">Admin</a></li>
  <li><a href="/admin/users">Users</a></li>
  <li>Nigel Ramsay</li>
</ol>

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


Gemified by Björn Blomqvist