From 2e2afc0ac64190261df4b05428afddea96c8628c Mon Sep 17 00:00:00 2001 From: Oscar Del Ben Date: Fri, 20 Apr 2012 12:06:47 +0200 Subject: Add show action in getting started guide --- guides/code/getting_started/config/routes.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'guides/code/getting_started/config') 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. -- cgit v1.2.3