Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 31, 2012
  1. @jeremyf

    Extracted redirect logic from ActionController::Force::ClassMethods.f…

    jeremyf authored
    …orce_ssl
    
    Prior to this patch the existing .force_ssl method handles both defining
    the filter and handling the logic for performing the redirect.
    
    With this patch the logic for redirecting to the HTTPS protocol is
    separated from the filter logic that determines if a redirect should
    occur.  By separating the two levels of behavior, an instance method
    for ActionController (i.e. #force_ssl_redirect) is exposed and available
    for more granular SSL enforcement.
    
    Cleaned up indentation.
Something went wrong with that request. Please try again.