mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[ci skip] Fix a typo
We always plural form for `resources` method.
This commit is contained in:
parent
98360a96cc
commit
98877d1bdf
1 changed files with 1 additions and 1 deletions
|
@ -473,7 +473,7 @@ module ActionDispatch
|
||||||
# <tt>params[<:param>]</tt>.
|
# <tt>params[<:param>]</tt>.
|
||||||
# In your router:
|
# In your router:
|
||||||
#
|
#
|
||||||
# resources :user, param: :name
|
# resources :users, param: :name
|
||||||
#
|
#
|
||||||
# You can override <tt>ActiveRecord::Base#to_param</tt> of a related
|
# You can override <tt>ActiveRecord::Base#to_param</tt> of a related
|
||||||
# model to construct a URL:
|
# model to construct a URL:
|
||||||
|
|
Loading…
Reference in a new issue