Commit
7863adab36776a2d3c72bad53698e32491f665ef
Exists in
master
and in
21 other branches
angular_poc, api-article-archived, article-readonly, backup-7-jan-2016, captcha_serpro_plugin, content-manager-hostspot, export-comment-paragraph, fix_event_date_issue, login-captcha, master_rails3, new_video_plugin, pg_search_rank, production, refactor_with_role, refactor_with_role_scope, remove_profile_cat_icons, resend_confirmation_email, staging, staging_rails3, theme-brasil-digital-from-staging, travis
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
| |