diff options
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/getting_started.textile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/guides/source/getting_started.textile b/guides/source/getting_started.textile index 4aeba5debe..1a57a81cf1 100644 --- a/guides/source/getting_started.textile +++ b/guides/source/getting_started.textile @@ -1176,7 +1176,7 @@ end </ruby> If you run +rake routes+, you'll see that all the routes that we -declared before are still available, and the app still works as before. +declared before are still available: <shell> # rake routes @@ -1190,6 +1190,9 @@ edit_post GET /posts/:id/edit(.:format) posts#edit root / welcome#index </shell> +Also, if you go through the motions of creating, updating and deleting +posts the app still works as before. + TIP: In general, Rails encourages the use of resources objects in place of declaring routes manually. For more information about routing, see "Rails Routing from the Outside In":routing.html. |