Files
habitica/config/initializers/session_store.rb
T
Tyler Renelle ad20410a0e initial commit
2012-01-31 22:57:22 -05:00

9 lines
429 B
Ruby

# Be sure to restart your server when you modify this file.
HabitTracker::Application.config.session_store :cookie_store, key: '_habit-tracker_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")
# HabitTracker::Application.config.session_store :active_record_store