mirror of
https://github.com/wahyd4/ocelots.git
synced 2026-08-09 13:06:25 +10:00
9 lines
413 B
Ruby
9 lines
413 B
Ruby
# Be sure to restart your server when you modify this file.
|
|
|
|
Ocelots::Application.config.session_store :cookie_store, key: '_ocelots_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")
|
|
# Ocelots::Application.config.session_store :active_record_store
|