Sha256: 14282c9c753e61e7d64e5b7abb255cbf0ac6fa19d54a73544a84e35f73f26369

Contents?: true

Size: 216 Bytes

Versions: 9

Compression:

Stored size: 216 Bytes

Contents

class Ckeditor::AttachmentFile < Ckeditor::Asset
  validates_property :ext, of: :data, in: attachment_file_types unless attachment_file_types.empty?

  def url_thumb
    Ckeditor::Utils.filethumb(filename)
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
glebtv-ckeditor-4.11.1 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
ckeditor-4.3.0 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
glebtv-ckeditor-4.7.3.1 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
glebtv-ckeditor-4.7.3 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
ckeditor-4.2.4 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
ckeditor-4.2.3 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
ckeditor-4.2.2 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
ckeditor-4.2.1 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
ckeditor-4.2.0 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb