public
Description: rails plugin that enables inheritance of views along a controller class heirachy
Homepage: http://ianwhite.github.com/inherit_views
Clone URL: git://github.com/ianwhite/inherit_views.git
inherit_views / init.rb
100644 5 lines (4 sloc) 0.268 kb
1
2
3
4
5
require 'inherit_views'
 
defined?(ActionController) && ActionController::Base.extend(InheritViews::ActMethod)
defined?(ActionMailer) && ActionMailer::Base.extend(InheritViews::ActMethod)
defined?(ActionView) && ActionView::Base.send(:include, InheritViews::ActionView)