nigelramsay / breadcrumb_trail
- Source
- Commits
- Network (3)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
commit 6b074e5212cebb5f9e7b67352b582a6f1da416ed
tree 18c9417a23d4b5891a18c2042129a506f9bf977f
parent 4995fc9cc3abf99f455e87560733f860592614f9
tree 18c9417a23d4b5891a18c2042129a506f9bf977f
parent 4995fc9cc3abf99f455e87560733f860592614f9
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | ||
| |
README | ||
| |
Rakefile | ||
| |
init.rb | ||
| |
install.rb | ||
| |
lib/ | ||
| |
public/ | ||
| |
test/ | ||
| |
uninstall.rb |
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

