From 92195e68a02715d29ef9d4b3bf66409c014f7174 Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Sun, 4 Feb 2007 22:27:45 +0000 Subject: Fix issue with deprecation messing up #template_root= usage. Add #prepend_view_path and #append_view_path to allow modification of a copy of the superclass' view_paths. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionwebservice/test/scaffolded_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionwebservice/test') diff --git a/actionwebservice/test/scaffolded_controller_test.rb b/actionwebservice/test/scaffolded_controller_test.rb index 09c40a865e..67e74a95ec 100644 --- a/actionwebservice/test/scaffolded_controller_test.rb +++ b/actionwebservice/test/scaffolded_controller_test.rb @@ -5,7 +5,7 @@ ActionController::Routing::Routes.draw do |map| map.connect ':controller/:action/:id' end -ActionController::Base.template_root = '.' +ActionController::Base.view_load_paths = [ '.' ] class ScaffoldPerson < ActionWebService::Struct member :id, :int -- cgit v1.2.3