diff options
author | Tim McEwan <tim@mcewan.it> | 2012-10-12 22:18:49 +1100 |
---|---|---|
committer | Tim McEwan <tim@mcewan.it> | 2012-10-12 22:18:49 +1100 |
commit | 8cf428fe78d8a45690524e83663e69ae35a5c413 (patch) | |
tree | ccd16a98579c90ab8eb375a5230be1aab90ffd9a /guides/source | |
parent | a2c843885470dddbad9430963190464a22167921 (diff) | |
download | rails-8cf428fe78d8a45690524e83663e69ae35a5c413.tar.gz rails-8cf428fe78d8a45690524e83663e69ae35a5c413.tar.bz2 rails-8cf428fe78d8a45690524e83663e69ae35a5c413.zip |
specify path to CommentsController again inline
(incorporating feedback from a newbie)
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/getting_started.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index cf11a427ad..cceb124441 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -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 |