class Ckeditor::AttachmentFile

Public Instance Methods

url_thumb() click to toggle source

for validation, see github.com/igorkasyanchuk/active_storage_validations

# File lib/generators/ckeditor/templates/active_record/active_storage/ckeditor/attachment_file.rb, line 6
def url_thumb
  @url_thumb ||= Ckeditor::Utils.filethumb(filename)
end