app/models/ckeditor/attachment_file.rb in georgia-0.7.8 vs app/models/ckeditor/attachment_file.rb in georgia-0.8.0

- old
+ new

@@ -1,5 +1,12 @@ class Ckeditor::AttachmentFile < Ckeditor::Asset + + include Elasticsearch::Model + include Elasticsearch::Model::Callbacks + index_name 'ckeditor-assets' + document_type 'asset' + include Ckeditor::AssetSearch + mount_uploader :data, Ckeditor::AttachmentFileUploader, :mount_on => :data_file_name def url_thumb @url_thumb ||= Ckeditor::Utils.filethumb(filename) end