-
Notifications
You must be signed in to change notification settings - Fork 3
Rails plugin to create a breadcrumb trail
License
nigelramsay/breadcrumb_trail
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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
About
Rails plugin to create a breadcrumb trail
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published