aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/examples/debate_controller.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/examples/debate_controller.cgi')
-rwxr-xr-xactionpack/examples/debate_controller.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/examples/debate_controller.cgi b/actionpack/examples/debate_controller.cgi
index dbe022568b..9cb787940c 100755
--- a/actionpack/examples/debate_controller.cgi
+++ b/actionpack/examples/debate_controller.cgi
@@ -47,7 +47,7 @@ class DebateController < 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