Sha256: edd64eaaa3d754249d07aea6d206cd44bcc7a81ac01bbf04d1585e69fbd64253
Contents?: true
Size: 760 Bytes
Versions: 2
Compression:
Stored size: 760 Bytes
Contents
require_dependency "ueditor_rails/application_controller" module UeditorRails class LibsController < ApplicationController def swf_image_uploader send_file UeditorRails.ueditor_base_path.join('dialogs/image/imageUploader.swf'), :disposition => 'inline', :type => 'application/x-shockwave-flash' end def swf_upload send_file UeditorRails.ueditor_base_path.join('third-party/swfupload/swfupload.swf'), :disposition => 'inline', :type => 'application/x-shockwave-flash' end def swf_upload_fp9 send_file UeditorRails.ueditor_base_path.join('third-party/swfupload/swfupload_fp9.swf'), :disposition => 'inline', :type => 'application/x-shockwave-flash' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ueditor_rails-0.0.2 | app/controllers/ueditor_rails/libs_controller.rb |
ueditor_rails-0.0.1 | app/controllers/ueditor_rails/libs_controller.rb |