Skip to content

Commit 61ceeac

Browse files
committed
Correct missing template error page
- Correct controller path "app/controller/books_controller.rb" to "app/controllers/books_controller.rb" - Add space after "NOTE:" Ref - rails#46342
1 parent 1edc5ea commit 61ceeac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
<div class="summary">
99
<p>
10-
<strong>NOTE:</strong>Rails usually expects a controller action to render a view template with the same name.
10+
<strong>NOTE:</strong> Rails usually expects a controller action to render a view template with the same name.
1111
</p>
1212
<p>
13-
For example, a <code>BooksController#index</code> action defined in <code>app/controller/books_controller.rb</code> should have a corresponding view template
13+
For example, a <code>BooksController#index</code> action defined in <code>app/controllers/books_controller.rb</code> should have a corresponding view template
1414
in a file named <code>app/views/books/index.html.erb</code>.
1515
</p>
1616
<p>

0 commit comments

Comments
 (0)