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

Constant Summary

Constants included from Backend::Dragonfly

Backend::Dragonfly::FORMATS

Instance Method Summary collapse

Methods included from Backend::Dragonfly

included

Methods included from Orm::ActiveRecord::AssetBase

included

Methods included from Backend::Refile

#extract_dimensions, #magick, #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