Module ActionController::ForceSSL::ClassMethods
In: lib/action_controller/metal/force_ssl.rb

Methods

force_ssl  

Public Instance methods

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<tt> - The callback should be run for all actions except this action

[Validate]