Mercurial > zeropaste
view config/initializers/session_store.rb @ 377:4e6afc8140fb
Use Time.zone as per rubocop recommendation.
author | nanaya <me@myconan.net> |
---|---|
date | Sat, 06 Jun 2015 22:35:21 +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