1
0
Fork 0
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:
Emilio Tagua 2010-09-28 16:09:31 -03:00
parent 7129dd95d0
commit c9416546a2

View file

@ -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 %>