diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-04-02 03:26:31 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-02 03:26:31 +0900 |
commit | e4e12185837c1aa9233e4669d0a54b54173e1bf1 (patch) | |
tree | 8a63972a1b3317906a04dccbe76146716c5a4a0e /actionview/lib/action_view/helpers/url_helper.rb | |
parent | a835fba44f23637aa8d043a46cbc3799f644bea1 (diff) | |
parent | 771973c13dd5b68fe96fbe5ea96bd11656437dc1 (diff) | |
download | rails-e4e12185837c1aa9233e4669d0a54b54173e1bf1.tar.gz rails-e4e12185837c1aa9233e4669d0a54b54173e1bf1.tar.bz2 rails-e4e12185837c1aa9233e4669d0a54b54173e1bf1.zip |
Merge pull request #35820 from sharang-d/url-to-URL-except-actionpack
url -> URL where apt except inside actionpack/
Diffstat (limited to 'actionview/lib/action_view/helpers/url_helper.rb')
-rw-r--r-- | actionview/lib/action_view/helpers/url_helper.rb | 2 |
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 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 |