Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #11648 from prathamesh-sonpatki/doc-fix

Improved the doc about showing posts in getting started guide [ci skip]
  • Loading branch information...
commit 1f72dd49453c59b4b2799d79c1a14a731f8c7a74 2 parents 008e572 + 482718f
Yves Senn senny authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  guides/source/getting_started.md
2  guides/source/getting_started.md
View
@@ -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
```
Please sign in to comment.
Something went wrong with that request. Please try again.