diff options
author | Jon Moss <me@jonathanmoss.me> | 2017-03-13 15:52:46 -0400 |
---|---|---|
committer | Jon Moss <me@jonathanmoss.me> | 2017-03-13 15:52:46 -0400 |
commit | db98b05113f7252073e48520b880e5961dfa2c31 (patch) | |
tree | df2f8337f48ba83328bb368bf7ad17a43ea25dd1 /actionpack/lib | |
parent | e0397b0c25e790eba0c914d9ff97360219f49e29 (diff) | |
download | rails-db98b05113f7252073e48520b880e5961dfa2c31.tar.gz rails-db98b05113f7252073e48520b880e5961dfa2c31.tar.bz2 rails-db98b05113f7252073e48520b880e5961dfa2c31.zip |
Fix HTTPS grammar
[ci skip]
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/metal/force_ssl.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/metal/force_ssl.rb b/actionpack/lib/action_controller/metal/force_ssl.rb index 876e0feff5..73e67573ca 100644 --- a/actionpack/lib/action_controller/metal/force_ssl.rb +++ b/actionpack/lib/action_controller/metal/force_ssl.rb @@ -2,15 +2,15 @@ require "active_support/core_ext/hash/except" require "active_support/core_ext/hash/slice" module ActionController - # This module provides a method which will redirect the browser to use HTTPS - # protocol. This will ensure that user's sensitive information will be + # This module provides a method which will redirect the browser to use the secured HTTPS + # protocol. This will ensure that users' sensitive information will be # transferred safely over the internet. You _should_ always force the browser # to use HTTPS when you're transferring sensitive information such as # user authentication, account information, or credit card information. # # Note that if you are really concerned about your application security, # you might consider using +config.force_ssl+ in your config file instead. - # That will ensure all the data is transferred via HTTPS protocol and will + # That will ensure all the data is transferred via HTTPS, and will # prevent the user from getting their session hijacked when accessing the # site over unsecured HTTP protocol. module ForceSSL @@ -23,7 +23,7 @@ module ActionController module ClassMethods # Force the request to this particular controller or specified actions to be - # under HTTPS protocol. + # through the HTTPS protocol. # # If you need to disable this for any reason (e.g. development) then you can use # an +:if+ or +:unless+ condition. |