From 148d1217a134b1071228b0dbf5b1fc5a17741044 Mon Sep 17 00:00:00 2001 From: tanmay3011 Date: Tue, 6 Oct 2015 23:34:05 +0530 Subject: [ci skip] Change 'an URL' to 'a URL' as URL doesn't have a vowel sound --- actionpack/lib/action_dispatch/routing/mapper.rb | 2 +- actionpack/lib/action_dispatch/routing/url_for.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack') 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 ActiveRecord::Base#to_param 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 config/routes.rb 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. -- cgit v1.2.3