Sha256: 561f728198e8d3f1f75ff425406a02303b598f9e61967d77a812d63f345fe7cf
Contents?: true
Size: 501 Bytes
Versions: 25
Compression:
Stored size: 501 Bytes
Contents
module Alchemy::Custom::Model::ElFinder module Paths class File < ActiveRecordReference def full_fill_paylod(payload) payload[:original_url] = ::Alchemy::Engine.routes.url_helpers.download_attachment_path(id: active_record_instance.id, name: active_record_instance.urlname) payload end def active_record_class ::Alchemy::Attachment end def global_id active_record_instance.to_signed_global_id.to_s end end end end
Version data entries
25 entries across 25 versions & 1 rubygems