Class: Ckeditor::Picture
- Inherits:
-
Asset
- Object
- Asset
- Ckeditor::Picture
- Defined in:
- app/models/ckeditor/picture.rb
Overview
CKEditor picture
Instance Method Summary collapse
-
#url_content ⇒ String
Integral does not create a content version so this is basically an alias method for CKEditor.
-
#url_thumb ⇒ String
Before the picture is processed in the background thumbnail URL may not be available.
Instance Method Details
#url_content ⇒ String
Integral does not create a content version so this is basically an alias method for CKEditor
9 10 11 |
# File 'app/models/ckeditor/picture.rb', line 9 def url_content url end |
#url_thumb ⇒ String
Before the picture is processed in the background thumbnail URL may not be available
16 17 18 19 20 |
# File 'app/models/ckeditor/picture.rb', line 16 def url_thumb return url(:thumb) if url(:thumb) url end |