aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.html.erb
blob: 76ab1691b5fd85a18bea241653878e5f09cf20d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<header>
  <h1>No template for interactive request</h1>
</header>

<div id="container">
  <h2><%= h @exception.message %></h2>

  <p class="summary">
    <strong>NOTE!</strong><br>
    Unless told otherwise, Rails expects an action to render a template with the same name,<br>
    contained in a folder named after its controller.

    If this controller is an API responding with 204 (No Content), <br>
    which does not require a template,
    then this error will occur when trying to access it via browser,<br>
    since we expect an HTML template
    to be rendered for such requests. If that's the case, carry on.
  </p>
</div>