~michaelforrest/use-case-mapper/trunk

« back to all changes in this revision

Viewing changes to vendor/rails/actionpack/lib/action_controller/templates/rescues/template_error.erb

  • Committer: Michael Forrest
  • Date: 2010-10-15 16:28:50 UTC
  • Revision ID: michael.forrest@canonical.com-20101015162850-tj2vchanv0kr0dun
refrozeĀ gems

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<h1>
 
2
  <%=h @exception.original_exception.class.to_s %> in
 
3
  <%=h request.parameters["controller"].capitalize if request.parameters["controller"]%>#<%=h request.parameters["action"] %>
 
4
</h1>
 
5
 
 
6
<p>
 
7
  Showing <i><%=h @exception.file_name %></i> where line <b>#<%=h @exception.line_number %></b> raised:
 
8
  <pre><code><%=h @exception.message %></code></pre>
 
9
</p>
 
10
 
 
11
<p>Extracted source (around line <b>#<%=h @exception.line_number %></b>):
 
12
<pre><code><%=h @exception.source_extract %></code></pre></p>
 
13
 
 
14
<p><%=h @exception.sub_template_message %></p>
 
15
 
 
16
<% @real_exception = @exception
 
17
   @exception = @exception.original_exception || @exception %>
 
18
<%= render :file => @rescues_path["rescues/_trace.erb"] %>
 
19
<% @exception = @real_exception %>
 
20
 
 
21
<%= render :file => @rescues_path["rescues/_request_and_response.erb"] %>