Class: Ckeditor::Picture

Inherits:
Asset
  • Object
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/refile/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

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_contentObject



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

def url_content
  url(:content)
end

#url_thumbObject



8
9
10
# File 'lib/generators/ckeditor/templates/active_record/refile/ckeditor/picture.rb', line 8

def url_thumb
  url(:fill, 118, 100)
end