view config/initializers/session_store.rb @ 425:9369ad2f2ce8

Simplify logic
author nanaya <me@myconan.net>
date Mon, 26 Oct 2015 14:09:13 +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