mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -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:
parent
816d67b104
commit
38efc32529
2 changed files with 6 additions and 4 deletions
|
@ -1,5 +1,7 @@
|
||||||
*SVN*
|
*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 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]
|
* 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>
|
<h1>Routing Error</h1>
|
||||||
<p><pre><%=h @exception.message %></pre></p>
|
<p><pre><%=h @exception.message %></pre></p>
|
||||||
<% unless @exception.failures.empty? %><p>
|
<% unless @exception.failures.empty? %><p>
|
||||||
<h2>Failure reasons:</h2>
|
<h2>Failure reasons:</h2>
|
||||||
<ol>
|
<ol>
|
||||||
<% @exception.failures.each do |route, reason| %>
|
<% @exception.failures.each do |route, reason| %>
|
||||||
<li><code><%=h route.inspect.gsub('\\', '') %></code> failed because <%=h reason.downcase %></li>
|
<li><code><%=h route.inspect.gsub('\\', '') %></code> failed because <%=h reason.downcase %></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ol>
|
</ol>
|
||||||
</p><% end %>
|
</p><% end %>
|
||||||
|
|
Loading…
Reference in a new issue