Created
June 22, 2012 19:13
-
-
Save dandemeyere/2974579 to your computer and use it in GitHub Desktop.
Rails 3.1 SSL Controller Requirements
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
# Rails 3.0 | |
ssl_required :new, :create, :edit, :update | |
# Rails 3.1 | |
force_ssl only: [:new, :create, :edit, :update] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment