app/helpers/ckeditor/base_helper.rb in ckeditor-3.5.2 vs app/helpers/ckeditor/base_helper.rb in ckeditor-3.5.3

- old
+ new

@@ -1,10 +1,10 @@ module Ckeditor::BaseHelper - def ckeditor_attachment_path(kind) + def ckeditor_asset_path(kind) path = case kind when :image then Ckeditor.file_manager_image_upload_uri when :file then Ckeditor.file_manager_upload_uri - else '/ckeditor/attachments' + else '/ckeditor/attachment_files' end session_key = Rails.application.config.send(:session_options)[:key] options = Rails.application.routes.recognize_path(path, :method => :post)