mirror of
https://github.com/TracksApp/tracks.git
synced 2026-04-17 17:54:35 +02:00
finish upgrade of selenium
these were manual cherry-picks of the rails upgrade work.
This commit is contained in:
parent
551eab19a5
commit
e2841e31eb
9 changed files with 80 additions and 48 deletions
|
|
@ -32,8 +32,8 @@ Rails::Initializer.run do |config|
|
|||
config.action_controller.session_store = :active_record_store
|
||||
|
||||
config.action_controller.session = {
|
||||
:key => '_tracks_session_id',
|
||||
:secret => SITE_CONFIG['salt'] * (30.0 / SITE_CONFIG['salt'].length).ceil #must be at least 30 characters
|
||||
:key => '_tracks_session_id',
|
||||
:secret => SITE_CONFIG['salt'] * (30.0 / SITE_CONFIG['salt'].length).ceil #must be at least 30 characters
|
||||
}
|
||||
|
||||
config.action_controller.relative_url_root = SITE_CONFIG['subdir'] if SITE_CONFIG['subdir']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue