app/controllers/scrivito/ui_controller.rb in scrivito_sdk-1.1.1 vs app/controllers/scrivito/ui_controller.rb in scrivito_sdk-1.2.0.rc1
- old
+ new
@@ -7,9 +7,11 @@
@ui_config = UiConfig.new(
editing_context: editing_context,
resource: resource,
return_to: params[:return_to],
app_extension_tags: app_extension_tags,
+ obj_models: Scrivito.models.objs,
+ widget_models: Scrivito.models.widgets,
).to_json
else
redirect_to @application_src
end
end