diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-02-27 02:14:30 +0530 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-03-05 11:56:31 +0100 |
commit | e15973ce7c1ea926da38fb5b4a6f2c1b62beaac7 (patch) | |
tree | 6a6084cc8ae46aec7315ad29672bb77ad089bdde | |
parent | f305c608166e72217d8f47b227deb4db233cd879 (diff) | |
download | rails-e15973ce7c1ea926da38fb5b4a6f2c1b62beaac7.tar.gz rails-e15973ce7c1ea926da38fb5b4a6f2c1b62beaac7.tar.bz2 rails-e15973ce7c1ea926da38fb5b4a6f2c1b62beaac7.zip |
use resources in place of map.resources
-rw-r--r-- | railties/guides/source/generators.textile | 2 |
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 |