method
force_ssl_redirect
v4.2.7 -
Show latest stable
- Class:
ActionController::ForceSSL
force_ssl_redirect(host_or_options = nil)public
Redirect the existing request to use the HTTPS protocol.
Parameters
-
host_or_options - Either a host name or any of the url & redirect options
available to the <tt>force_ssl</tt> method.