Skip to content

Commit cfa9c9f

Browse files
committed
Fix a typo in missing_exact_template.html.erb
1 parent 2612b88 commit cfa9c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actionpack/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</p>
1212
<p>
1313
For example, a <code>BooksController#index</code> action defined in <code>app/controller/books_controller.rb</code> should have a corresponding view template
14-
in a file named <code>app/views/books/index.erb.html</code>.
14+
in a file named <code>app/views/books/index.html.erb</code>.
1515
</p>
1616
<p>
1717
However, if this controller is an API endpoint responding with 204 (No Content), which does not require a view template because it doesn't serve an HTML response, then this error will occur when trying to access it with a browser. In this particular scenario, you can ignore this error.

0 commit comments

Comments
 (0)