From 69b0e5c44a05fddcac996c7aaaca61cb3188da5e Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Sun, 4 Feb 2007 20:47:05 +0000 Subject: Allow Controllers to have multiple view_paths instead of a single template_root. Closes #2754 [John Long] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/examples/blog_controller.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/examples/blog_controller.cgi') diff --git a/actionpack/examples/blog_controller.cgi b/actionpack/examples/blog_controller.cgi index 3868c306df..506afad62f 100755 --- a/actionpack/examples/blog_controller.cgi +++ b/actionpack/examples/blog_controller.cgi @@ -43,7 +43,7 @@ class BlogController < ActionController::Base end end -ActionController::Base.template_root = File.dirname(__FILE__) +ActionController::Base.view_paths = [ File.dirname(__FILE__) ] # ActionController::Base.logger = Logger.new("debug.log") # Remove first comment to turn on logging in current dir begin -- cgit v1.2.3