Sha256: 5143b18d65fd60850eee7d38ffbbb229276e8b544cffd6301c49eeaac9c9fac0
Contents?: true
Size: 540 Bytes
Versions: 2
Compression:
Stored size: 540 Bytes
Contents
module Cmor module Files module Backend class AttachmentsController < Cmor::Core::Backend::ResourcesController::Base include Rao::ResourcesController::SortingConcern include Rao::ResourcesController::BatchActionsConcern def self.resource_class ActiveStorage::Attachment end private def after_destroy_many_location last_location end def permitted_params params.require(:attachment).permit() end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cmor_files_backend-0.0.60.pre | app/controllers/cmor/files/backend/attachments_controller.rb |
cmor_files_backend-0.0.59.pre | app/controllers/cmor/files/backend/attachments_controller.rb |