mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
92ace39692
This will help you debug missing template errors, especially if they come from a programmatic template selection. Thanks to @dhh for suggesting that. As a bonus, also show request and response info on the routing error page for consistency.
11 lines
264 B
Text
11 lines
264 B
Text
<header>
|
|
<h1>Template is missing</h1>
|
|
</header>
|
|
|
|
<div id="container">
|
|
<h2><%= h @exception.message %></h2>
|
|
|
|
<%= render template: "rescues/_source" %>
|
|
<%= render template: "rescues/_trace" %>
|
|
<%= render template: "rescues/_request_and_response" %>
|
|
</div>
|