public
Description: Allows a "default" template to be used for any given action in a Rails app
Homepage:
Clone URL: git://github.com/jonleighton/default_templates.git
default_templates / init.rb
100644 3 lines (2 sloc) 0.134 kb
1
2
3
require File.dirname(__FILE__) + '/lib/default_templates.rb'
ActionController::Base.send :include, ActionController::DefaultTemplates