diff options
author | Marcel Molina <marcel@vernix.org> | 2008-01-23 17:04:49 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2008-01-23 17:04:49 +0000 |
commit | 349df7560565d196af3a9d204f721ca54bc9912f (patch) | |
tree | 4f304dc0adf967b81f8ca67c693cbbdd8378017b /activeresource | |
parent | 2d0d348fb2d24fbf56fb901951ecda494c2cc6c4 (diff) | |
download | rails-349df7560565d196af3a9d204f721ca54bc9912f.tar.gz rails-349df7560565d196af3a9d204f721ca54bc9912f.tar.bz2 rails-349df7560565d196af3a9d204f721ca54bc9912f.zip |
Reference to :element option in documentation should be :member. Closes #10905 [fxn]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8706 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activeresource')
-rw-r--r-- | activeresource/lib/active_resource/custom_methods.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activeresource/lib/active_resource/custom_methods.rb b/activeresource/lib/active_resource/custom_methods.rb index 70e7ac9ab6..52a4a4f10b 100644 --- a/activeresource/lib/active_resource/custom_methods.rb +++ b/activeresource/lib/active_resource/custom_methods.rb @@ -4,7 +4,7 @@ module ActiveResource # say you use Rails to expose a REST service and configure your routes with: # # map.resources :people, :new => { :register => :post }, - # :element => { :promote => :put, :deactivate => :delete } + # :member => { :promote => :put, :deactivate => :delete } # :collection => { :active => :get } # # This route set creates routes for the following http requests: |