From 998ab50974403ddc1cd166a3fe97528d344b1db4 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 31 Mar 2005 14:46:11 +0000 Subject: Improved the message display on the exception handler pages #963 [Johan Sorensen] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1048 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/templates/rescues/diagnostics.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_controller/templates/rescues/diagnostics.rhtml') diff --git a/actionpack/lib/action_controller/templates/rescues/diagnostics.rhtml b/actionpack/lib/action_controller/templates/rescues/diagnostics.rhtml index 9fb2de5b10..80634b2d34 100644 --- a/actionpack/lib/action_controller/templates/rescues/diagnostics.rhtml +++ b/actionpack/lib/action_controller/templates/rescues/diagnostics.rhtml @@ -8,7 +8,7 @@ <%=h @exception.class.to_s %> in <%=h (@request.parameters["controller"] || "").capitalize %>#<%=h @request.parameters["action"] || "" %> -

<%=h Object.const_defined?(:RAILS_ROOT) ? @exception.message.gsub(RAILS_ROOT, "") : @exception.message %>

+
<%=h Object.const_defined?(:RAILS_ROOT) ? @exception.message.gsub(RAILS_ROOT, "") : @exception.message %>
<% unless app_trace.empty? %>
<%=h app_trace.join("\n") %>
<% end %> -- cgit v1.2.3