module Scrivito class BlobsController < WebserviceController 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 end end end