Sha256: 75aefd891d049da9caa2971a51ef8b5344e8bb91ac12a25fb71ae4505a7d3ef6
Contents?: true
Size: 950 Bytes
Versions: 2
Compression:
Stored size: 950 Bytes
Contents
module UeditorRails module ApplicationHelper 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 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 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 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 end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
ueditor_rails4-0.0.5 | app/helpers/ueditor_rails/application_helper.rb |
ueditor_rails-0.0.4 | app/helpers/ueditor_rails/application_helper.rb |