Revert "Do not server models on invalid sessions."
This reverts commit 6e84792871
.
This commit is contained in:
parent
6e84792871
commit
2824280a30
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ class SessionsController < ApplicationController
|
|||
render json: {
|
||||
error: 'no valid session',
|
||||
config: config_frontend,
|
||||
models: models,
|
||||
collections: {
|
||||
Locale.to_app_model => Locale.where(active: true)
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue