lib/scrivito/ui_config.rb in scrivito_sdk-1.6.1 vs lib/scrivito/ui_config.rb in scrivito_sdk-1.7.0.rc1

- old
+ new

@@ -8,11 +8,10 @@ def to_json { app_extension_tags: app_extension_tags, editing_context: editing_context_config, - session: session_config, backend_endpoint: Configuration.endpoint, tenant: Configuration.tenant, i18n: i18n_config, is_development_mode: Rails.env.development?, resource_dialog: resource_dialog_config, @@ -30,13 +29,9 @@ { display_mode: editing_context.display_mode, selected_workspace: workspace_config(selected_workspace), visible_workspace: workspace_config(visible_workspace), } - end - - def session_config - Session.renew(SecureRandom.hex(8), editor) end def workspace_config(workspace) { id: workspace.id,