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: {
|
render json: {
|
||||||
error: 'no valid session',
|
error: 'no valid session',
|
||||||
config: config_frontend,
|
config: config_frontend,
|
||||||
|
models: models,
|
||||||
collections: {
|
collections: {
|
||||||
Locale.to_app_model => Locale.where(active: true)
|
Locale.to_app_model => Locale.where(active: true)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue