-
-
Save whiz25/cb3b0a9757f26912201e7fca06c9a5df to your computer and use it in GitHub Desktop.
session store configuration
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
if Rails.env == "production" | |
Rails.application.config.session_store :cookie_store, key: "_authentication_app", domain: "https://link-to-your-production-app.com/" | |
else | |
Rails.application.config.session_store :cookie_store, key: "_authentication_app" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment