Class: Ckeditor::AttachmentFile
- Inherits:
-
Asset
- Object
- Asset
- Ckeditor::AttachmentFile
- Defined in:
- lib/generators/flexible_admin/templates/ckeditor/attachment_file.rb
Instance Method Summary collapse
Instance Method Details
#url_thumb ⇒ Object
10 11 12 13 14 15 |
# File 'lib/generators/flexible_admin/templates/ckeditor/attachment_file.rb', line 10 def url_thumb @url_thumb ||= begin extname = File.extname(filename).gsub(/^\./, '') "/javascripts/ckeditor/filebrowser/images/thumbs/#{extname}.gif" end end |