Plugins - Magellan
Add to favoritesAllows navigation logic to be abstracted from views/controllers as a way of managing complexity on larger projects.
Quickstart
- Copy/symlink/svn:external into your vendor/plugins directory
- rake test:plugins - Have to keep me honest ;)
- Create a navigation map in config/environment.rb
- Set state in your controllers using set_nav_state
- Use nav_link_to in your views
run ‘rails example/’ to setup the example project URL will be http://localhost:3000/navexample/ You will be able to run the example without setting up database.yml, but you won’t be able to test it. I recommend using an in memory sqllite3 DB - it’s the easiest and quickest to setup.
http://rhnh.net/projects/magellan
http://rhnh.svnrepository.com/svn/public/rails/plugins/magellan/
View Extensions
