diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-10-06 20:18:06 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-10-06 20:18:06 +0200 |
commit | b5e9e1ad3c56778c557e620f18aeae912312e68f (patch) | |
tree | cff728b6834dc72607ebed88ab844be871416fa2 /actionpack | |
parent | 9e25e0e1735f2ccca69679243aa8cf0885104164 (diff) | |
parent | 148d1217a134b1071228b0dbf5b1fc5a17741044 (diff) | |
download | rails-b5e9e1ad3c56778c557e620f18aeae912312e68f.tar.gz rails-b5e9e1ad3c56778c557e620f18aeae912312e68f.tar.bz2 rails-b5e9e1ad3c56778c557e620f18aeae912312e68f.zip |
Merge pull request #21888 from tanmay3011/fix-grammar
[ci skip] Change 'an URL' to 'a URL' as URL doesn't have a vowel sound
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 2 | ||||
-rw-r--r-- | actionpack/lib/action_dispatch/routing/url_for.rb | 2 |
2 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 87b826f7d0..cfd50f616d 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -482,7 +482,7 @@ module ActionDispatch # resources :user, param: :name # # You can override <tt>ActiveRecord::Base#to_param</tt> of a related - # model to construct an URL: + # model to construct a URL: # # class User < ActiveRecord::Base # def to_param diff --git a/actionpack/lib/action_dispatch/routing/url_for.rb b/actionpack/lib/action_dispatch/routing/url_for.rb index 883cd9c2c3..b6c031dcf4 100644 --- a/actionpack/lib/action_dispatch/routing/url_for.rb +++ b/actionpack/lib/action_dispatch/routing/url_for.rb @@ -1,7 +1,7 @@ module ActionDispatch module Routing # In <tt>config/routes.rb</tt> you define URL-to-controller mappings, but the reverse - # is also possible: an URL can be generated from one of your routing definitions. + # is also possible: a URL can be generated from one of your routing definitions. # URL generation functionality is centralized in this module. # # See ActionDispatch::Routing for general information about routing and routes.rb. |