Commit
7863adab36776a2d3c72bad53698e32491f665ef
Exists in
staging
and in
25 other branches
angular_poc, api-article-archived, api-homepage, api_visitor, article-readonly, caching-rails4, captcha_serpro_plugin, comment_paragraph_api, comments_api_reply, content-manager-hostspot, environment-api, export-comment-paragraph, fix_event_date_issue, fix_multitenancy, fix_profile_wall, fix_string_downcase_and_upcase, fix_upload_files_on_development_environment, json_cookie_serializer, login-captcha, master, new_security, new_video_plugin, pg_search_rank, production, resend_confirmation_email
Load session model into session initializer
Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com>
Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com>
Signed-off-by: Thiago Ribeiro <thiagitosouza@gmail.com>
|
1
| ActionDispatch::Reloader.to_prepare do |
1
| ActionDispatch::Reloader.to_prepare do |
|
| |
2
| + require_relative '../../app/models/session' |
|
2
| ActiveRecord::SessionStore.session_class = Session |
3
| ActiveRecord::SessionStore.session_class = Session |
|
3
| end |
4
| end |
|
4
| |
5
| |