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 & redirect options

    available to the <tt>force_ssl</tt> method.