mirror of
https://github.com/github/rails.git
synced 2026-01-29 08:18:03 -05:00
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
This commit is contained in:
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user