Revert "Do not server models on invalid sessions."

This reverts commit 6e84792871.
This commit is contained in:
Martin Edenhofer 2016-06-22 07:15:26 +02:00
parent 6e84792871
commit 2824280a30

View file

@ -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)
},