Orbit/app/models/ckeditor/picture.rb

8 lines
167 B
Ruby
Raw Normal View History

class Ckeditor::Picture < Ckeditor::Asset
mount_uploader :data, CkeditorPictureUploader, :mount_on => :data_file_name
def url_content
url(:content)
end
end