Class: Ckeditor::AttachmentFile
- Defined in:
- app/models/ckeditor/attachment_file.rb
Instance Method Summary collapse
Instance Method Details
#url_thumb ⇒ Object
9 10 11 12 13 14 |
# File 'app/models/ckeditor/attachment_file.rb', line 9 def url_thumb @url_thumb ||= begin extname = File.extname(filename).gsub(/^\./, '') "/assets/quic_cms/ckeditor/filebrowser/images/thumbs/#{extname}.gif" end end |