From 38efc32529b69404dc9e40939fc582db4c02aede Mon Sep 17 00:00:00 2001
From: Jamis Buck
Date: Thu, 8 Jun 2006 16:18:10 +0000
Subject: Remove problematic control chars in rescue template. (closes #5316)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
---
.../lib/action_controller/templates/rescues/routing_error.rhtml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
(limited to 'actionpack/lib/action_controller')
diff --git a/actionpack/lib/action_controller/templates/rescues/routing_error.rhtml b/actionpack/lib/action_controller/templates/rescues/routing_error.rhtml
index bf7dcb232a..ccfa858cce 100644
--- a/actionpack/lib/action_controller/templates/rescues/routing_error.rhtml
+++ b/actionpack/lib/action_controller/templates/rescues/routing_error.rhtml
@@ -1,10 +1,10 @@
Routing Error
<%=h @exception.message %>
<% unless @exception.failures.empty? %>
-
Failure reasons:
-
- <% @exception.failures.each do |route, reason| %>
- <%=h route.inspect.gsub('\\', '') %>
failed because <%=h reason.downcase %>
+ Failure reasons:
+
+ <% @exception.failures.each do |route, reason| %>
+ <%=h route.inspect.gsub('\\', '') %>
failed because <%=h reason.downcase %>
<% end %>
<% end %>
--
cgit v1.2.3