Class: UeditorRails::LibsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- UeditorRails::LibsController
- Defined in:
- app/controllers/ueditor_rails/libs_controller.rb
Instance Method Summary collapse
- #fclipboard_ueditor ⇒ Object
- #swf_image_uploader ⇒ Object
- #swf_upload ⇒ Object
- #swf_upload_fp9 ⇒ Object
Instance Method Details
#fclipboard_ueditor ⇒ Object
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_uploader ⇒ Object
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_upload ⇒ Object
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_fp9 ⇒ Object
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 |