From f51d1428811ae53876f6e1f40ad2c64d200fd0f5 Mon Sep 17 00:00:00 2001 From: Robin Dupret Date: Tue, 11 Aug 2015 15:31:59 +0200 Subject: Tiny documentation fixes [ci skip] --- actionpack/lib/action_dispatch/routing/mapper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index 2d281f7e66..acab6ba9ca 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -447,10 +447,10 @@ module ActionDispatch # resources :user, param: :name # # You can override ActiveRecord::Base#to_param of a related - # model to constructe an URL. + # model to construct an URL: # # class User < ActiveRecord::Base - # def to_param # overridden + # def to_param # name # end # end -- cgit v1.2.3