method
force_ssl
v3.1.0 -
Show latest stable
- Class:
ActionController::ForceSSL::ClassMethods
force_ssl(options = {})public
Force the request to this particular controller or specified actions to be under HTTPS protocol.
Note that this method will not be effective on development environment.
Options
-
only - The callback should be run only for this action
-
<tt>except - The callback should be run for all actions except this action