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:
parent
45d8ff08a4
commit
bb84cab2fc
1 changed files with 1 additions and 1 deletions
|
@ -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| %>
|
||||
|
|
Loading…
Reference in a new issue