Froze rails gems
[depot.git] / vendor / rails / actionpack / lib / action_controller / templates / rescues / template_error.erb
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 + "/_trace.erb") %>
19 <% @exception = @real_exception %>
20
21 <%= render(:file => @rescues_path + "/_request_and_response.erb") %>