Permalink
Browse files

this should be accessing the hash, not calling a method

  • Loading branch information...
1 parent efb835c commit d4981c393bb086eb7d8a6696528891927398b073 @tenderlove tenderlove committed Aug 13, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
View
2 actionpack/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
@@ -3,7 +3,7 @@ Rails.root: <%= defined?(Rails) && Rails.respond_to?(:root) ? Rails.root : "unse
<% @traces.each do |name, trace| %>
<% if trace.any? %>
<%= name %>
-<%= trace.map(&:trace).join("\n") %>
+<%= trace.map { |t| t[:trace] }.join("\n") %>
<% end %>
<% end %>

1 comment on commit d4981c3

@ryandao

Thanks! 👍

Please sign in to comment.