comparison config/initializers/session_store.rb @ 431:68eb23b52864

Rails 5 \o/
author nanaya <me@myconan.net>
date Fri, 13 May 2016 03:56:07 +0900
parents 1e2e999f586a
children
comparison
equal deleted inserted replaced
430:6257da6e1aa1 431:68eb23b52864
1 # Be sure to restart your server when you modify this file. 1 # Be sure to restart your server when you modify this file.
2 2
3 Zeropaste::Application.config.session_store :cookie_store, :key => "_zeropaste_session" 3 Rails.application.config.session_store :cookie_store, :key => "_zeropaste_session"
4
5 # Use the database for sessions instead of the cookie-based default,
6 # which shouldn't be used to store highly confidential information
7 # (create the session table with "rails generate session_migration")
8 # Zeropaste::Application.config.session_store :active_record_store