aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorPrem Sichanugrist <s@sikac.hu>2019-07-30 18:59:31 +0900
committerGitHub <noreply@github.com>2019-07-30 18:59:31 +0900
commit004f223f33447cd2ceed8c5c0f590aa0ce9c043d (patch)
treee9fcf961e1ecae6bb3f06af225b8a1d268c1aa6a /actionview
parentbd822a45bef35493d131d716018fc212203d40f9 (diff)
parent96e8a817faee02d4eb29e490938a8927f7caff24 (diff)
downloadrails-004f223f33447cd2ceed8c5c0f590aa0ce9c043d.tar.gz
rails-004f223f33447cd2ceed8c5c0f590aa0ce9c043d.tar.bz2
rails-004f223f33447cd2ceed8c5c0f590aa0ce9c043d.zip
Merge pull request #36813 from haruyuki97/haruyuki97/fix-comment-in-url-helper
Fix a/an usage on `phone_to` documentation. [ci skip]
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/helpers/url_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/url_helper.rb b/actionview/lib/action_view/helpers/url_helper.rb
index ea2a97f458..1b05d4aa71 100644
--- a/actionview/lib/action_view/helpers/url_helper.rb
+++ b/actionview/lib/action_view/helpers/url_helper.rb
@@ -627,7 +627,7 @@ module ActionView
# is prepopulated with the passed phone number and optional
# +country_code+ value.
#
- # +phone_to+ has a optional +country_code+ option which automatically adds the country
+ # +phone_to+ has an optional +country_code+ option which automatically adds the country
# code as well as the + sign in the phone numer that gets prepopulated,
# for example if +country_code: "01"+ +\+01+ will be prepended to the
# phone numer, by passing special keys to +html_options+.