aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/getting_started.md
diff options
context:
space:
mode:
Diffstat (limited to 'guides/source/getting_started.md')
-rw-r--r--guides/source/getting_started.md2
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
```