1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Update reference to deprecated constant to avoid warnings

This commit is contained in:
Bryan Helmkamp 2009-11-29 01:37:50 -05:00 committed by Yehuda Katz
parent 45d8ff08a4
commit bb84cab2fc

View file

@ -7,7 +7,7 @@
names = traces.collect {|name, trace| name}
%>
<p><code>RAILS_ROOT: <%= defined?(RAILS_ROOT) ? RAILS_ROOT : "unset" %></code></p>
<p><code>Rails.root: <%= defined?(Rails) && Rails.respond_to?(:root) ? Rails.root : "unset" %></code></p>
<div id="traces">
<% names.each do |name| %>