Sha256: 85395689551e2e58dd587c5be0525ee9087d469db0cc92dc95ec12e5a630d417

Contents?: true

Size: 247 Bytes

Versions: 7

Compression:

Stored size: 247 Bytes

Contents

# frozen_string_literal: true

class Ckeditor::AttachmentFile < Ckeditor::Asset
  # for validation, see https://github.com/igorkasyanchuk/active_storage_validations

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

Version data entries

7 entries across 7 versions & 2 rubygems

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