mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Use parenthesis to avoid ambiguous first argument warning.
This commit is contained in:
parent
7129dd95d0
commit
c9416546a2
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% traces.each do |name, trace| %>
|
<% traces.each do |name, trace| %>
|
||||||
<div id="<%= name.gsub /\s/, '-' %>" style="display: <%= name == "Application Trace" ? 'block' : 'none' %>;">
|
<div id="<%= name.gsub /\s/, '-' %>" style="display: <%= (name == "Application Trace") ? 'block' : 'none' %>;">
|
||||||
<pre><code><%=h trace.join "\n" %></code></pre>
|
<pre><code><%=h trace.join "\n" %></code></pre>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in a new issue