Skip to content

Commit

Permalink
Improved the doc about showing posts in getting started guide [ci skip]
Browse files Browse the repository at this point in the history
- Reference #11644
  • Loading branch information
prathamesh-sonpatki committed Jul 29, 2013
1 parent b67a80d commit 482718f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions guides/source/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit 482718f

Please sign in to comment.