diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-02-27 02:14:30 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-02-27 02:14:30 +0530 |
commit | 72ae724485cb092870dc9914a4f95aa6fbeda7fa (patch) | |
tree | 4a9c5eef6f3244055e01109088edcf89482d7e55 | |
parent | 8f13a166ceda779357d1c356776a11086f7ee146 (diff) | |
download | rails-72ae724485cb092870dc9914a4f95aa6fbeda7fa.tar.gz rails-72ae724485cb092870dc9914a4f95aa6fbeda7fa.tar.bz2 rails-72ae724485cb092870dc9914a4f95aa6fbeda7fa.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 |