Permalink
Browse files

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
  • Loading branch information...
1 parent 816d67b commit 38efc32529b69404dc9e40939fc582db4c02aede @jamis jamis committed Jun 8, 2006
Showing with 6 additions and 4 deletions.
  1. +2 −0 actionpack/CHANGELOG
  2. +4 −4 actionpack/lib/action_controller/templates/rescues/routing_error.rhtml
View
@@ -1,5 +1,7 @@
*SVN*
+* Remove problematic control chars in rescue template. #5316 [Stefan Kaes]
+
* Make sure passed routing options are not mutated by routing code. #5314 [Blair Zajac]
* Make sure changing the controller from foo/bar to bing/bang does not change relative to foo. [Jamis Buck]
@@ -1,10 +1,10 @@
<h1>Routing Error</h1>
<p><pre><%=h @exception.message %></pre></p>
<% unless @exception.failures.empty? %><p>
- <h2>Failure reasons:</h2>
- <ol>
- <% @exception.failures.each do |route, reason| %>
- <li><code><%=h route.inspect.gsub('\\', '') %></code> failed because <%=h reason.downcase %></li>
+ <h2>Failure reasons:</h2>
+ <ol>
+ <% @exception.failures.each do |route, reason| %>
+ <li><code><%=h route.inspect.gsub('\\', '') %></code> failed because <%=h reason.downcase %></li>
<% end %>
</ol>
</p><% end %>

0 comments on commit 38efc32

Please sign in to comment.