Sha256: c71d3cf1d6ba5dbefab5a589a710283c202e7c6fc2596f43ab42ef7ae4a41dcc

Contents?: true

Size: 653 Bytes

Versions: 14

Compression:

Stored size: 653 Bytes

Contents

module Cmor
  module System
    module Backend
      module ActiveStorage
        class BlobsController < Cmor::Core::Backend::ResourcesController::Base
          def self.engine_class
            ::Cmor::System::Backend::Engine
          end

          def self.resource_class
            ::ActiveStorage::Blob
          end

          def self.available_rest_actions
            super - %i(new create edit update)
          end

          private

          def resource_namespace
            :active_storage
          end

          def permitted_params
            params.require(:blob).permit()
          end
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cmor_system_backend-0.0.43.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.42.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.41.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.40.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.39.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.38.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.37.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.36.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.35.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.34.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.33.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.32.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.31.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.30.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb