From 98877d1bdfdb4bfbbdc9738cb898d2b3ac7eba31 Mon Sep 17 00:00:00 2001 From: yui-knk <spiketeika@gmail.com> Date: Fri, 18 Aug 2017 08:39:39 +0900 Subject: [ci skip] Fix a typo We always plural form for `resources` method. --- actionpack/lib/action_dispatch/routing/mapper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack') 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: -- cgit v1.2.3