Class: Ckeditor::AttachmentFile
- Inherits:
-
Asset
- Object
- ActiveRecord::Base
- Asset
- Ckeditor::AttachmentFile
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/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
Backend::Dragonfly::FORMATS
Instance Method Summary
collapse
included
included
included
included
Instance Method Details
#url_thumb ⇒ Object
12
13
14
|
# File 'lib/generators/ckeditor/templates/mongoid/paperclip/ckeditor/attachment_file.rb', line 12
def url_thumb
@url_thumb ||= Ckeditor::Utils.filethumb(filename)
end
|