Module: UeditorRails::ApplicationHelper

Defined in:
app/helpers/ueditor_rails/application_helper.rb

Instance Method Summary collapse

Instance Method Details

#fclipboard_ueditor_pathObject



21
22
23
24
25
# File 'app/helpers/ueditor_rails/application_helper.rb', line 21

def fclipboard_ueditor_path
  UeditorRails.enable_cross_domain ?
      UeditorRails::Engine.routes.url_helpers.libs_fclipboard_ueditor_path :
      asset_path('ueditor/third-party/fClipboard_ueditor.swf')
end

#swf_imageuploader_pathObject



15
16
17
18
19
# File 'app/helpers/ueditor_rails/application_helper.rb', line 15

def swf_imageuploader_path
  UeditorRails.enable_cross_domain ?
      UeditorRails::Engine.routes.url_helpers.libs_swf_image_uploader_path :
      asset_path('ueditor/third-party/imageUploader.swf')
end

#swfupload_fp9_pathObject



9
10
11
12
13
# File 'app/helpers/ueditor_rails/application_helper.rb', line 9

def swfupload_fp9_path
  UeditorRails.enable_cross_domain ?
      UeditorRails::Engine.routes.url_helpers.libs_swf_upload_fp9_path :
      asset_path('ueditor/third-party/swfupload/swfupload_fp9.swf')
end

#swfupload_pathObject



3
4
5
6
7
# File 'app/helpers/ueditor_rails/application_helper.rb', line 3

def swfupload_path
  UeditorRails.enable_cross_domain ?
      UeditorRails::Engine.routes.url_helpers.libs_swf_upload_path :
      asset_path('ueditor/third-party/swfupload/swfupload.swf')
end