Plugins - Magellan

StarAdd to favorites

Allows navigation logic to be abstracted from views/controllers as a way of managing complexity on larger projects.

Quickstart

  1. Copy/symlink/svn:external into your vendor/plugins directory
  2. rake test:plugins - Have to keep me honest ;)
  3. Create a navigation map in config/environment.rb
  4. Set state in your controllers using set_nav_state
  5. 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.

Xavier Shay

http://rhnh.net/projects/magellan

http://rhnh.svnrepository.com/svn/public/rails/plugins/magellan/

  • Currently 3.2/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

View Extensions

Tags

Comments

Add a comment

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?