method

https?

Importance_1
v2.3.8 - Show latest stable - 0 notes - Class: ActionController::Integration::Session
https?() public

Return true if the session is mimicking a secure HTTPS request.

  if session.https?
    ...
  end
Show source
Register or log in to add new notes.