From 98877d1bdfdb4bfbbdc9738cb898d2b3ac7eba31 Mon Sep 17 00:00:00 2001 From: yui-knk Date: Fri, 18 Aug 2017 08:39:39 +0900 Subject: [PATCH] [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(-) 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 # params[<:param>]. # In your router: # - # resources :user, param: :name + # resources :users, param: :name # # You can override ActiveRecord::Base#to_param of a related # model to construct a URL: