app/controllers/scrivito/blobs_controller.rb in scrivito_sdk-0.70.2 vs app/controllers/scrivito/blobs_controller.rb in scrivito_sdk-0.71.0.rc1
- old
+ new
@@ -4,11 +4,10 @@
def upload_permission
@permission = CmsRestApi.task_unaware_request(:get, 'blobs/upload_permission')
end
def activate_upload
- CmsRestApi.activate_upload(params.slice(:upload, :obj_id, :filename, :content_type))
- render_empty_json
+ @blob = CmsRestApi.activate_upload(params.slice(:upload, :obj_id, :filename, :content_type))
end
end
end