Sha256: 64e5646d7230a6838c6b3c90539163e9d80db3068b39b8d4b8cda345186a9431
Contents?: true
Size: 413 Bytes
Versions: 10
Compression:
Stored size: 413 Bytes
Contents
# frozen_string_literal: true class Avo::Fields::Common::Files::ControlsComponent < Avo::BaseComponent include Avo::ApplicationHelper include Avo::Fields::Concerns::FileAuthorization delegate :id, to: :@field prop :field prop :file prop :resource def destroy_path Avo::Services::URIService.parse(@resource.record_path).append_paths("active_storage_attachments", id, @file.id).to_s end end
Version data entries
10 entries across 10 versions & 1 rubygems