public
Description: Rails plugin: provides automatic navigation for RESTful architectures, and has simple support for those that aren't.
Homepage: http://rpheath.com/posts/309-rails-plugin-navigation-helper
Clone URL: git://github.com/rpheath/navigation_helper.git
navigation_helper / init.rb
100644 7 lines (6 sloc) 0.209 kb
1
2
3
4
5
6
7
require 'navigation'
 
ActionView::Base.send :include, RPH::Navigation::InstanceMethods
ActionController::Base.class_eval do
  extend RPH::Navigation::ClassMethods
  class_inheritable_accessor :_current_tab
end