diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2015-08-11 15:31:59 +0200 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2015-08-11 15:35:35 +0200 |
commit | f51d1428811ae53876f6e1f40ad2c64d200fd0f5 (patch) | |
tree | a4102a3fca046bc01873b29565496e5996cb8707 /actionpack/lib | |
parent | 5ffbcf12f38066feeda850e4ee1022d4b2f3a632 (diff) | |
download | rails-f51d1428811ae53876f6e1f40ad2c64d200fd0f5.tar.gz rails-f51d1428811ae53876f6e1f40ad2c64d200fd0f5.tar.bz2 rails-f51d1428811ae53876f6e1f40ad2c64d200fd0f5.zip |
Tiny documentation fixes [ci skip]
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 <tt>ActiveRecord::Base#to_param</tt> 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 |