Plugin (currently just rails) that dynamically and intelligently generates a “back” link. or breadcrumb trail.
Ruby CSS JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
art
lib
test
.gitignore
LICENSE.txt
README.rdoc
Rakefile
VERSION
backstack.gemspec

README.rdoc

backstack

Backstack is a gem plugin (currently just rails) that dynamically and intelligently generates a “back” link, or breadcrumb trail.

Blog post has the the best documentation: kswope.com/2011/07/10/backstack-navigation-pattern-and-rails-plugin/

For a demo go to the test/rails_root directory and 'rails server'

The plugin guts are in: github.com/kswope/backstack/blob/master/lib/backstack.rb and github.com/kswope/backstack/blob/master/lib/backstacklib.rb

Non-plugin tests are in: github.com/kswope/backstack/blob/master/test/neutral/test_backstacklib.rb

Most rails tests are in: github.com/kswope/backstack/blob/master/test/rails_root/test/integration/backstack_test.rb

The following stuff was put here by jeweler, not by me, but it seems like good advice.

Contributing to backstack

  • Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet

  • Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it

  • Fork the project

  • Start a feature/bugfix branch

  • Commit and push until you are happy with your contribution

  • Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.

  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Copyright

Copyright © 2011 Kevin Swope. See LICENSE.txt for further details.