Sha256: db411a1a6c30a323b18fd5b9e97caef7cdf3b365972fe303d8f26ac75f53fa2c

Contents?: true

Size: 244 Bytes

Versions: 16

Compression:

Stored size: 244 Bytes

Contents

# frozen_string_literal: true

class Ckeditor::AttachmentFile < Ckeditor::Asset
  mount_uploader :data, CkeditorAttachmentFileUploader, mount_on: :data_file_name

  def url_thumb
    @url_thumb ||= Ckeditor::Utils.filethumb(filename)
  end
end

Version data entries

16 entries across 8 versions & 2 rubygems

Version Path
ckeditor-5.1.3 lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/attachment_file.rb
ckeditor-5.1.3 lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/attachment_file.rb
ckeditor-5.1.2 lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/attachment_file.rb
ckeditor-5.1.2 lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/attachment_file.rb
ckeditor-5.1.1 lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/attachment_file.rb
ckeditor-5.1.1 lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/attachment_file.rb
glebtv-ckeditor-4.14.1 lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/attachment_file.rb
glebtv-ckeditor-4.14.1 lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/attachment_file.rb
ckeditor-5.1.0 lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/attachment_file.rb
ckeditor-5.1.0 lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/attachment_file.rb
glebtv-ckeditor-4.13.1 lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/attachment_file.rb
glebtv-ckeditor-4.13.1 lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/attachment_file.rb
glebtv-ckeditor-4.13.0 lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/attachment_file.rb
glebtv-ckeditor-4.13.0 lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/attachment_file.rb
ckeditor-5.0.0 lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/attachment_file.rb
ckeditor-5.0.0 lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/attachment_file.rb