提交 8cf428fe 编写于 作者: T Tim McEwan

specify path to CommentsController again inline

(incorporating feedback from a newbie)
上级 a2c84388
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册