orbit-basic/app/models/ckeditor/asset.rb

8 lines
182 B
Ruby

class Ckeditor::Asset
include Ckeditor::Orm::Mongoid::AssetBase
delegate :url, :current_path, :size, :content_type, :filename, :to => :data
validates_presence_of :data
end