diff options
author | Oscar Del Ben <info@oscardelben.com> | 2012-04-20 12:06:47 +0200 |
---|---|---|
committer | Oscar Del Ben <info@oscardelben.com> | 2012-04-20 12:06:47 +0200 |
commit | 2e2afc0ac64190261df4b05428afddea96c8628c (patch) | |
tree | a94a70200a1ee434d3cfaa82e0040c6166d4692a /guides/code/getting_started/config | |
parent | dbb4c4ddb601e06fef37f63d644a5297f3292c2a (diff) | |
download | rails-2e2afc0ac64190261df4b05428afddea96c8628c.tar.gz rails-2e2afc0ac64190261df4b05428afddea96c8628c.tar.bz2 rails-2e2afc0ac64190261df4b05428afddea96c8628c.zip |
Add show action in getting started guide
Diffstat (limited to 'guides/code/getting_started/config')
-rw-r--r-- | guides/code/getting_started/config/routes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guides/code/getting_started/config/routes.rb b/guides/code/getting_started/config/routes.rb index 98b1a6dcc8..7210b559bb 100644 --- a/guides/code/getting_started/config/routes.rb +++ b/guides/code/getting_started/config/routes.rb @@ -5,6 +5,7 @@ Blog::Application.routes.draw do get "posts/new" post "posts/create" + get "posts/:id" => "posts#show" # The priority is based upon order of creation: # first created -> highest priority. |