aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/generators.textile
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-02-27 02:14:30 +0530
committerXavier Noria <fxn@hashref.com>2011-03-05 11:56:31 +0100
commite15973ce7c1ea926da38fb5b4a6f2c1b62beaac7 (patch)
tree6a6084cc8ae46aec7315ad29672bb77ad089bdde /railties/guides/source/generators.textile
parentf305c608166e72217d8f47b227deb4db233cd879 (diff)
downloadrails-e15973ce7c1ea926da38fb5b4a6f2c1b62beaac7.tar.gz
rails-e15973ce7c1ea926da38fb5b4a6f2c1b62beaac7.tar.bz2
rails-e15973ce7c1ea926da38fb5b4a6f2c1b62beaac7.zip
use resources in place of map.resources
Diffstat (limited to 'railties/guides/source/generators.textile')
-rw-r--r--railties/guides/source/generators.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/generators.textile b/railties/guides/source/generators.textile
index 41a96b487d..fc7b1216d5 100644
--- a/railties/guides/source/generators.textile
+++ b/railties/guides/source/generators.textile
@@ -345,7 +345,7 @@ $ rails generate scaffold Comment body:text
invoke shoulda
create test/unit/comment_test.rb
create test/fixtures/comments.yml
- route map.resources :comments
+ route resources :comments
invoke scaffold_controller
create app/controllers/comments_controller.rb
invoke erb