Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 4445

Show
Ignore:
Timestamp:
06/08/06 16:18:10 (2 years ago)
Author:
minam
Message:

Remove problematic control chars in rescue template. (closes #5316)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/CHANGELOG

    r4444 r4445  
    11*SVN* 
     2 
     3* Remove problematic control chars in rescue template. #5316 [Stefan Kaes] 
    24 
    35* Make sure passed routing options are not mutated by routing code. #5314 [Blair Zajac] 
  • trunk/actionpack/lib/action_controller/templates/rescues/routing_error.rhtml

    r1048 r4445  
    22<p><pre><%=h @exception.message %></pre></p> 
    33<% unless @exception.failures.empty? %><p> 
    4        <h2>Failure reasons:</h2> 
    5        <ol> 
    6        <% @exception.failures.each do |route, reason| %> 
    7                <li><code><%=h route.inspect.gsub('\\', '') %></code> failed because <%=h reason.downcase %></li> 
     4  <h2>Failure reasons:</h2> 
     5  <ol> 
     6  <% @exception.failures.each do |route, reason| %> 
     7    <li><code><%=h route.inspect.gsub('\\', '') %></code> failed because <%=h reason.downcase %></li> 
    88  <% end %> 
    99  </ol>