Browse files

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

- Reference #11644
  • Loading branch information...
1 parent b67a80d commit 482718ffb5bcb05ff7867a5270c31e570755ae71 @prathamesh-sonpatki prathamesh-sonpatki committed Jul 29, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 guides/source/
2 guides/source/
@@ -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`.
post GET /posts/:id(.:format) posts#show

0 comments on commit 482718f

Please sign in to comment.