diff options
author | yui-knk <spiketeika@gmail.com> | 2017-08-18 08:39:39 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2017-08-18 08:39:39 +0900 |
commit | 98877d1bdfdb4bfbbdc9738cb898d2b3ac7eba31 (patch) | |
tree | 0aec54ec610091b4fa5c813bcca7685e534c0077 /actionpack | |
parent | 98360a96cc1e0bb6ab9eb31f421a36439e66eefc (diff) | |
download | rails-98877d1bdfdb4bfbbdc9738cb898d2b3ac7eba31.tar.gz rails-98877d1bdfdb4bfbbdc9738cb898d2b3ac7eba31.tar.bz2 rails-98877d1bdfdb4bfbbdc9738cb898d2b3ac7eba31.zip |
[ci skip] Fix a typo
We always plural form for `resources` method.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index 28809d7e67..00260ec3e8 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -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: |