aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/examples/address_book_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/examples/address_book_controller.rb')
-rw-r--r--actionpack/examples/address_book_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/examples/address_book_controller.rb b/actionpack/examples/address_book_controller.rb
index 9ca6612512..7042ad84a5 100644
--- a/actionpack/examples/address_book_controller.rb
+++ b/actionpack/examples/address_book_controller.rb
@@ -42,7 +42,7 @@ class AddressBookController < 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