mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 21:24:54 +08:00
5 lines
240 B
Ruby
5 lines
240 B
Ruby
# Be sure to restart your server when you modify this file.
|
|
|
|
session_store = ENV['SCINOTE_SERVERSIDE_SESSIONS'] == 'true' ? :active_record_store : :cookie_store
|
|
|
|
Rails.application.config.session_store session_store, key: '_scinote_session'
|