diff options
author | Jamis Buck <jamis@37signals.com> | 2006-06-08 16:18:10 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2006-06-08 16:18:10 +0000 |
commit | 38efc32529b69404dc9e40939fc582db4c02aede (patch) | |
tree | 04bee319928ad7dc1a8c7333b7ac06047924de4d /actionpack/lib/action_controller/templates/rescues/routing_error.rhtml | |
parent | 816d67b104f9ea59cd0ffaccbcc250b66b7905d0 (diff) | |
download | rails-38efc32529b69404dc9e40939fc582db4c02aede.tar.gz rails-38efc32529b69404dc9e40939fc582db4c02aede.tar.bz2 rails-38efc32529b69404dc9e40939fc582db4c02aede.zip |
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
Diffstat (limited to 'actionpack/lib/action_controller/templates/rescues/routing_error.rhtml')
-rw-r--r-- | actionpack/lib/action_controller/templates/rescues/routing_error.rhtml | 8 |
1 files changed, 4 insertions, 4 deletions
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 @@ <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 %> |