mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
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
This commit is contained in:
parent
2d0d348fb2
commit
349df75605
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue