1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

specify path to CommentsController again inline

(incorporating feedback from a newbie)
This commit is contained in:
Tim McEwan 2012-10-12 22:18:49 +11:00
parent a2c8438854
commit 8cf428fe78

View file

@ -1420,7 +1420,7 @@ This adds a form on the `Post` show page that creates a new comment by
calling the `CommentsController` `create` action. The `form_for` call here uses
an array, which will build a nested route, such as `/posts/1/comments`.
Let's wire up the `create`:
Let's wire up the `create` in `app/controllers/comments_controller.rb`:
```ruby
class CommentsController < ApplicationController