method

force_ssl_redirect

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 and redirect options available to the force_ssl method.