Sha256: 135b9cfdd63d1777487a44b46107613e3c2fedac750f318d629420b356c4e358

Contents?: true

Size: 390 Bytes

Versions: 6

Compression:

Stored size: 390 Bytes

Contents

module Ecm
  module Core
    module Backend
      module ActiveStorage
        class AttachmentsController < Itsf::Backend::Resource::BaseController
          def self.resource_class
            ::ActiveStorage::Attachment
          end

          private

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ecm_core-0.4.0 app/controllers/ecm/core/backend/active_storage/attachments_controller.rb
ecm_core-0.3.0 app/controllers/ecm/core/backend/active_storage/attachments_controller.rb
ecm_core-0.2.2 app/controllers/ecm/core/backend/active_storage/attachments_controller.rb
ecm_core-0.2.1 app/controllers/ecm/core/backend/active_storage/attachments_controller.rb
ecm_core-0.2.0 app/controllers/ecm/core/backend/active_storage/attachments_controller.rb
ecm_core-0.1.0 app/controllers/ecm/core/backend/active_storage/attachments_controller.rb