mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Update reference to deprecated constant to avoid warnings
This commit is contained in:
committed by
Yehuda Katz
parent
45d8ff08a4
commit
bb84cab2fc
@@ -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| %>
|
||||
|
||||
Reference in New Issue
Block a user