-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- use instance variable for scheme - extract code to check for redirect into a separate method - extract code to redirect into a separate method - add replace_scheme and replace_host to modify redirect location - rename #port_for - redirect if ssl request but request.host does not match redirect_to - do not redirect if ssl request and request.host matches redirect_to
- Loading branch information
Tobias Matthies
committed
Mar 10, 2012
1 parent
c5542b6
commit d0b882a
Showing
1 changed file
with
61 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters