Class: UeditorRails::LibsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/ueditor_rails/libs_controller.rb

Instance Method Summary collapse

Instance Method Details

#fclipboard_ueditorObject



22
23
24
25
# File 'app/controllers/ueditor_rails/libs_controller.rb', line 22

def fclipboard_ueditor
  send_file UeditorRails.ueditor_base_path.join('third-party/fClipboard_ueditor.swf'),
            :disposition => 'inline', :type => 'application/x-shockwave-flash'
end

#swf_image_uploaderObject



7
8
9
10
# File 'app/controllers/ueditor_rails/libs_controller.rb', line 7

def swf_image_uploader
  send_file UeditorRails.ueditor_base_path.join('third-party/imageUploader.swf'),
            :disposition => 'inline', :type => 'application/x-shockwave-flash'
end

#swf_uploadObject



12
13
14
15
# File 'app/controllers/ueditor_rails/libs_controller.rb', line 12

def swf_upload
  send_file UeditorRails.ueditor_base_path.join('third-party/swfupload/swfupload.swf'),
            :disposition => 'inline', :type => 'application/x-shockwave-flash'
end

#swf_upload_fp9Object



17
18
19
20
# File 'app/controllers/ueditor_rails/libs_controller.rb', line 17

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