lib/action_dispatch/templates/rescues/template_error.text.erb in web-console-2.0.0.beta4 vs lib/action_dispatch/templates/rescues/template_error.text.erb in web-console-2.0.0
- old
+ new
@@ -1,5 +1,4 @@
-<% @source_extract = @exception.source_extract(0, :html) %>
<%= @exception.original_exception.class.to_s %> in <%= @request.parameters["controller"].camelize if @request.parameters["controller"] %>#<%= @request.parameters["action"] %>
Showing <%= @exception.file_name %> where line #<%= @exception.line_number %> raised:
<%= @exception.message %>
<%= @exception.sub_template_message %>