Class: Ckeditor::Picture
- Inherits:
-
Asset
- Object
- ActiveRecord::Base
- Asset
- Ckeditor::Picture
show all
- Defined in:
- lib/generators/ckeditor/templates/mongoid/paperclip/ckeditor/picture.rb,
lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/picture.rb,
lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/picture.rb,
lib/generators/ckeditor/templates/active_record/paperclip/ckeditor/picture.rb,
lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/picture.rb
Constant Summary
Backend::Dragonfly::FORMATS
Instance Method Summary
collapse
included
included
included
included
Instance Method Details
#url_content ⇒ Object
13
14
15
|
# File 'lib/generators/ckeditor/templates/mongoid/paperclip/ckeditor/picture.rb', line 13
def url_content
url(:content)
end
|
#url_thumb ⇒ Object
11
12
13
|
# File 'lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/picture.rb', line 11
def url_thumb
data.thumb('118x100#').url(url_thumb_options)
end
|