lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/attachment_file.rb in glebtv-ckeditor-4.6.0 vs lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/attachment_file.rb in glebtv-ckeditor-4.7.3
- old
+ new
@@ -1,6 +1,6 @@
class Ckeditor::AttachmentFile < Ckeditor::Asset
- mount_uploader :data, CkeditorAttachmentFileUploader, :mount_on => :data_file_name
+ mount_uploader :data, CkeditorAttachmentFileUploader, mount_on: :data_file_name
def url_thumb
@url_thumb ||= Ckeditor::Utils.filethumb(filename)
end
end