Do not server models on invalid sessions.
This commit is contained in:
parent
6f63af9495
commit
6e84792871
1 changed files with 0 additions and 1 deletions
|
@ -78,7 +78,6 @@ 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