view config/initializers/session_store.rb @ 229:388504e43bcf

Properly return 404 when requesting invalid paste.
author Edho Arief <edho@myconan.net>
date Wed, 15 May 2013 14:10:35 +0900
parents d4682cea8e58
children 620934712308
line wrap: on
line source

# Be sure to restart your server when you modify this file.

Zeropaste::Application.config.session_store ActionDispatch::Session::CacheStore

# 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