File: missing_exact_template.html.erb

package info (click to toggle)
rails 2%3A6.0.3.7%2Bdfsg-2%2Bdeb11u2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 70,976 kB
  • sloc: ruby: 271,623; javascript: 19,043; yacc: 46; sql: 43; makefile: 28; sh: 18
file content (19 lines) | stat: -rw-r--r-- 635 bytes parent folder | download | duplicates (2)
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>