Browse files

Use parenthesis to avoid ambiguous first argument warning.

  • Loading branch information...
1 parent 7129dd9 commit c9416546a209847e2167edf49de7b4f6c9950694 @miloops miloops committed Sep 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/middleware/templates/rescues/_trace.erb
View
2 actionpack/lib/action_dispatch/middleware/templates/rescues/_trace.erb
@@ -19,7 +19,7 @@
<% end %>
<% 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>
</div>
<% end %>

0 comments on commit c941654

Please sign in to comment.