Class: Ckeditor::AttachmentFile

Inherits:
Asset
  • Object
show all
Defined in:
lib/generators/ckeditor/templates/mongoid/paperclip/ckeditor/attachment_file.rb,
lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/attachment_file.rb,
lib/generators/ckeditor/templates/active_record/refile/ckeditor/attachment_file.rb,
lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb,
lib/generators/ckeditor/templates/active_record/paperclip/ckeditor/attachment_file.rb,
lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/attachment_file.rb

Instance Method Summary collapse

Methods included from Backend::Dragonfly

included

Methods included from Orm::ActiveRecord::AssetBase

included

Methods included from Backend::Refile

#read_dimensions, #url

Methods included from Backend::Paperclip

included

Methods included from Orm::Mongoid::AssetBase

included

Instance Method Details

#url_thumbObject



10
11
12
# File 'lib/generators/ckeditor/templates/mongoid/paperclip/ckeditor/attachment_file.rb', line 10

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