lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/asset.rb in glebtv-ckeditor-4.0.2.7 vs lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/asset.rb in glebtv-ckeditor-4.1.1
- old
+ new
@@ -1,7 +1,7 @@
class Ckeditor::Asset
include Ckeditor::Orm::Mongoid::AssetBase
-
+
delegate :url, :current_path, :size, :content_type, :filename, :to => :data
validates_presence_of :data
end