Sha256: 5eee2a32e100376c2383c516e8d9d3e95d3e281bc827b2fa7aee77a9ac84ffb4

Contents?: true

Size: 324 Bytes

Versions: 6

Compression:

Stored size: 324 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
scrivito_sdk-0.70.2 app/controllers/scrivito/blobs_controller.rb
scrivito_sdk-0.70.1 app/controllers/scrivito/blobs_controller.rb
scrivito_sdk-0.70.0 app/controllers/scrivito/blobs_controller.rb
scrivito_sdk-0.70.0.rc3 app/controllers/scrivito/blobs_controller.rb
scrivito_sdk-0.70.0.rc2 app/controllers/scrivito/blobs_controller.rb
scrivito_sdk-0.70.0.rc1 app/controllers/scrivito/blobs_controller.rb