Sha256: 2758fa1fd65563d9fa847e54eb66020f8326547bae5c015e5643d7087aa79273

Contents?: true

Size: 562 Bytes

Versions: 23

Compression:

Stored size: 562 Bytes

Contents

module Cmor
  module System
    module Backend
      module ActiveStorage
        class BlobsController < Cmor::Core::Backend::ResourcesController::Base
          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

23 entries across 23 versions & 1 rubygems

Version Path
cmor_system_backend-0.0.29.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.28.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.27.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.26.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.25.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.24.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.22.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.21.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.20.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.19.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.18.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.17.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.16.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.15.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.14.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.13.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.12.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.11.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.10.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb
cmor_system_backend-0.0.9.pre app/controllers/cmor/system/backend/active_storage/blobs_controller.rb