app/helpers/ckeditor/base_helper.rb in ckeditor-3.5.0 vs app/helpers/ckeditor/base_helper.rb in ckeditor-3.5.1
- old
+ new
@@ -1,10 +1,10 @@
module Ckeditor::BaseHelper
def ckeditor_attachment_path(kind)
path = case kind
when :image then Ckeditor.file_manager_image_upload_uri
when :file then Ckeditor.file_manager_upload_uri
- else '/ckeditor/create/default'
+ else '/ckeditor/attachments'
end
session_key = Rails.application.config.send(:session_options)[:key]
options = Rails.application.routes.recognize_path(path, :method => :post)