module

ActionController::ForceSSL

rails latest stable

Module deprecated or moved

This module is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

This module is deprecated in favor of config.force_ssl in your environment config file. This will ensure all endpoints not explicitly marked otherwise will have all communication served over HTTPS.

Included modules

  • AbstractController::Callbacks

Constants

ACTION_OPTIONS = [:only, :except, :if, :unless]

REDIRECT_OPTIONS = [:status, :flash, :alert, :notice]

URL_OPTIONS = [:protocol, :host, :domain, :subdomain, :port, :path]

Files

  • actionpack/lib/action_controller/metal/force_ssl.rb