app/controllers/scrivito/blobs_controller.rb in scrivito_sdk-0.18.1 vs app/controllers/scrivito/blobs_controller.rb in scrivito_sdk-0.30.0.rc1
- old
+ new
@@ -1,10 +1,9 @@
module Scrivito
class BlobsController < WebserviceController
def upload_permission
- permission = CmsRestApi.task_unaware_request(:get, 'blobs/upload_permission')
- render json: permission
+ @permission = CmsRestApi.task_unaware_request(:get, 'blobs/upload_permission')
end
end
end