method

force_ssl

Importance_1
v3.2.8 - Show latest stable - 0 notes - Class: 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

Show source
Register or log in to add new notes.