From 49542ae88697fd708a76c48f6a8c3bcde4591df2 Mon Sep 17 00:00:00 2001 From: James Lovejoy Date: Thu, 11 Jan 2018 14:13:41 -0800 Subject: Fix typos, update documentation [ci skip] --- actionpack/lib/action_controller/metal/force_ssl.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib/action_controller/metal') diff --git a/actionpack/lib/action_controller/metal/force_ssl.rb b/actionpack/lib/action_controller/metal/force_ssl.rb index 0ba1f9f783..7de500d119 100644 --- a/actionpack/lib/action_controller/metal/force_ssl.rb +++ b/actionpack/lib/action_controller/metal/force_ssl.rb @@ -39,7 +39,7 @@ module ActionController # end # # ==== URL Options - # You can pass any of the following options to affect the redirect url + # You can pass any of the following options to affect the redirect URL # * host - Redirect to a different host name # * subdomain - Redirect to a different subdomain # * domain - Redirect to a different domain @@ -73,7 +73,7 @@ module ActionController # Redirect the existing request to use the HTTPS protocol. # # ==== Parameters - # * host_or_options - Either a host name or any of the url and + # * host_or_options - Either a host name or any of the URL and # redirect options available to the force_ssl method. def force_ssl_redirect(host_or_options = nil) unless request.ssl? -- cgit v1.2.3