diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-07-29 02:14:49 -0700 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-07-29 02:14:49 -0700 |
commit | 1f72dd49453c59b4b2799d79c1a14a731f8c7a74 (patch) | |
tree | d3d45194d8f49f3cf5a56a0b84edd03473a8d7ee /guides | |
parent | 008e5722d4fdce62f151a288afb9832ae3e9a0ad (diff) | |
parent | 482718ffb5bcb05ff7867a5270c31e570755ae71 (diff) | |
download | rails-1f72dd49453c59b4b2799d79c1a14a731f8c7a74.tar.gz rails-1f72dd49453c59b4b2799d79c1a14a731f8c7a74.tar.bz2 rails-1f72dd49453c59b4b2799d79c1a14a731f8c7a74.zip |
Merge pull request #11648 from prathamesh-sonpatki/doc-fix
Improved the doc about showing posts in getting started guide [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/getting_started.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index a0e0975d62..58bf8bbe90 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -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 ``` |