diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-09-28 16:09:31 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2010-09-28 16:09:31 -0300 |
commit | c9416546a209847e2167edf49de7b4f6c9950694 (patch) | |
tree | 5209101d8110a2e32b302efaf4404cf5f28299d3 /actionpack/lib/action_dispatch | |
parent | 7129dd95d0a5edbbb686ed6b827de64c745ec5ef (diff) | |
download | rails-c9416546a209847e2167edf49de7b4f6c9950694.tar.gz rails-c9416546a209847e2167edf49de7b4f6c9950694.tar.bz2 rails-c9416546a209847e2167edf49de7b4f6c9950694.zip |
Use parenthesis to avoid ambiguous first argument warning.
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/templates/rescues/_trace.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/templates/rescues/_trace.erb b/actionpack/lib/action_dispatch/middleware/templates/rescues/_trace.erb index d18b162a93..c3fa4dba0a 100644 --- a/actionpack/lib/action_dispatch/middleware/templates/rescues/_trace.erb +++ b/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 %> |