aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorNicholas Seckar <nseckar@gmail.com>2006-03-11 02:53:39 +0000
committerNicholas Seckar <nseckar@gmail.com>2006-03-11 02:53:39 +0000
commit77e2f00c2875b598f5a09f20751cc65c9c5ff4bd (patch)
treeec474458e81841798eb8e4a71260fe36498c3bf3 /actionpack
parent1c16649b4895012eac76f3a7f22f3382b0034a97 (diff)
downloadrails-77e2f00c2875b598f5a09f20751cc65c9c5ff4bd.tar.gz
rails-77e2f00c2875b598f5a09f20751cc65c9c5ff4bd.tar.bz2
rails-77e2f00c2875b598f5a09f20751cc65c9c5ff4bd.zip
Don'tt abort rake when rendering the _trace.rhtml template
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/templates/rescues/_trace.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/templates/rescues/_trace.rhtml b/actionpack/lib/action_controller/templates/rescues/_trace.rhtml
index 6260ec8bcb..b322b0aaae 100644
--- a/actionpack/lib/action_controller/templates/rescues/_trace.rhtml
+++ b/actionpack/lib/action_controller/templates/rescues/_trace.rhtml
@@ -7,7 +7,7 @@
names = traces.collect {|name, trace| name}
%>
-<p><code>RAILS_ROOT: <%= RAILS_ROOT %></code></p>
+<p><code>RAILS_ROOT: <%= defined?(RAILS_ROOT) ? RAILS_ROOT : "unset" %></code></p>
<div id="traces">
<% names.each do |name| -%>