aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authortanmay3011 <tanmay3011@gmail.com>2015-10-06 23:34:05 +0530
committertanmay3011 <tanmay3011@gmail.com>2015-10-06 23:34:05 +0530
commit148d1217a134b1071228b0dbf5b1fc5a17741044 (patch)
treecff728b6834dc72607ebed88ab844be871416fa2 /actionpack
parent9e25e0e1735f2ccca69679243aa8cf0885104164 (diff)
downloadrails-148d1217a134b1071228b0dbf5b1fc5a17741044.tar.gz
rails-148d1217a134b1071228b0dbf5b1fc5a17741044.tar.bz2
rails-148d1217a134b1071228b0dbf5b1fc5a17741044.zip
[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.rb2
-rw-r--r--actionpack/lib/action_dispatch/routing/url_for.rb2
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.