From 482718ffb5bcb05ff7867a5270c31e570755ae71 Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Mon, 29 Jul 2013 09:04:39 +0530 Subject: [PATCH] Improved the doc about showing posts in getting started guide [ci skip] - Reference #11644 --- guides/source/getting_started.md | 2 ++ 1 file changed, 2 insertions(+) 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 ``` -- GitLab