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/test/template/url_helper_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/test/template/url_helper_test.rb') diff --git a/actionpack/test/template/url_helper_test.rb b/actionpack/test/template/url_helper_test.rb index 6080275379..8cef4ffe14 100644 --- a/actionpack/test/template/url_helper_test.rb +++ b/actionpack/test/template/url_helper_test.rb @@ -250,7 +250,7 @@ end class UrlHelperWithControllerTest < Test::Unit::TestCase class UrlHelperController < ActionController::Base - self.template_root = "#{File.dirname(__FILE__)}/../fixtures/" + self.view_paths = [ "#{File.dirname(__FILE__)}/../fixtures/" ] def self.controller_path; 'url_helper_with_controller' end @@ -305,7 +305,7 @@ end class LinkToUnlessCurrentWithControllerTest < Test::Unit::TestCase class TasksController < ActionController::Base - self.template_root = "#{File.dirname(__FILE__)}/../fixtures/" + self.view_paths = ["#{File.dirname(__FILE__)}/../fixtures/"] def self.controller_path; 'tasks' end -- cgit v1.2.3