提交 482718ff 编写于 作者: P Prathamesh Sonpatki

Improved the doc about showing posts in getting started guide [ci skip]

- Reference #11644
上级 b67a80de
......@@ -575,6 +575,8 @@ If you submit the form again now, Rails will complain about not finding
the `show` action. That's not very useful though, so let's add the
`show` action before proceeding.
First we need to add a new `route` in `config/routes.rb`.
```ruby
post GET /posts/:id(.:format) posts#show
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册