Mercurial > zeropaste
view config/initializers/session_store.rb @ 355:56382cb104dd
Add support for environment variable-based deployment.
author | edogawaconan <me@myconan.net> |
---|---|
date | Mon, 04 Aug 2014 17:05:16 +0900 |
parents | 1e2e999f586a |
children | 68eb23b52864 |
line wrap: on
line source
# Be sure to restart your server when you modify this file. Zeropaste::Application.config.session_store :cookie_store, :key => "_zeropaste_session" # Use the database for sessions instead of the cookie-based default, # which shouldn't be used to store highly confidential information # (create the session table with "rails generate session_migration") # Zeropaste::Application.config.session_store :active_record_store