mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge branch 'master' of github.com:rails/docrails
This commit is contained in:
commit
4b95976f15
1 changed files with 1 additions and 1 deletions
|
@ -473,7 +473,7 @@ module ActionDispatch
|
|||
# <tt>params[<:param>]</tt>.
|
||||
# In your router:
|
||||
#
|
||||
# resources :user, param: :name
|
||||
# resources :users, param: :name
|
||||
#
|
||||
# You can override <tt>ActiveRecord::Base#to_param</tt> of a related
|
||||
# model to construct a URL:
|
||||
|
|
Loading…
Reference in a new issue