lib/action_dispatch/middleware/templates/rescues/_trace.html.erb in actionpack-4.2.0.beta3 vs lib/action_dispatch/middleware/templates/rescues/_trace.html.erb in actionpack-4.2.0.beta4

- old
+ new

@@ -10,10 +10,10 @@ %> <a href="#" onclick="<%= hide.join %><%= show %>; return false;"><%= name %></a> <%= '|' unless names.last == name %> <% 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 == @trace_to_show) ? 'block' : 'none' %>;"> <pre><code><% trace.each do |frame| %><a class="trace-frames" data-frame-id="<%= frame[:id] %>" href="#"><%= frame[:trace] %></a><br><% end %></code></pre> </div> <% end %> <script type="text/javascript">