diff options
author | Sharang Dashputre <sharang.d@gmail.com> | 2019-04-01 17:59:37 +0530 |
---|---|---|
committer | Sharang Dashputre <sharang.d@gmail.com> | 2019-04-01 22:56:35 +0530 |
commit | 771973c13dd5b68fe96fbe5ea96bd11656437dc1 (patch) | |
tree | 0fadf0afda55ed7331080113cfabb6c885f4248e /actionview/lib/action_view | |
parent | e0a9e0259c56700fc83b3e886cdf7c04f6a83495 (diff) | |
download | rails-771973c13dd5b68fe96fbe5ea96bd11656437dc1.tar.gz rails-771973c13dd5b68fe96fbe5ea96bd11656437dc1.tar.bz2 rails-771973c13dd5b68fe96fbe5ea96bd11656437dc1.zip |
url -> URL where apt except inside actionpack/
Diffstat (limited to 'actionview/lib/action_view')
-rw-r--r-- | actionview/lib/action_view/helpers/form_tag_helper.rb | 2 | ||||
-rw-r--r-- | actionview/lib/action_view/helpers/url_helper.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/helpers/form_tag_helper.rb b/actionview/lib/action_view/helpers/form_tag_helper.rb index c0996049f0..5d4ff36425 100644 --- a/actionview/lib/action_view/helpers/form_tag_helper.rb +++ b/actionview/lib/action_view/helpers/form_tag_helper.rb @@ -24,7 +24,7 @@ module ActionView mattr_accessor :default_enforce_utf8, default: true - # Starts a form tag that points the action to a url configured with <tt>url_for_options</tt> just like + # Starts a form tag that points the action to a URL configured with <tt>url_for_options</tt> just like # ActionController::Base#url_for. The method for the form defaults to POST. # # ==== Options diff --git a/actionview/lib/action_view/helpers/url_helper.rb b/actionview/lib/action_view/helpers/url_helper.rb index d63ada3890..df83dff681 100644 --- a/actionview/lib/action_view/helpers/url_helper.rb +++ b/actionview/lib/action_view/helpers/url_helper.rb @@ -553,7 +553,7 @@ module ActionView url_string = URI.parser.unescape(url_for(options)).force_encoding(Encoding::BINARY) # We ignore any extra parameters in the request_uri if the - # submitted url doesn't have any either. This lets the function + # submitted URL doesn't have any either. This lets the function # work with things like ?order=asc # the behaviour can be disabled with check_parameters: true request_uri = url_string.index("?") || check_parameters ? request.fullpath : request.path |