Macrow/rails_kindeditor — Issue #2: assets_controller.rb, upload path problem?
Author: imlcl
Created: 2011-10-20 14:42:48+00:00
State: open

rails_kindeditor的assets_controller.rb：
def list
@root_path = Rails.public_path + "/uploads/kindeditor/"
@root_url = "/uploads/kindeditor/"
......
end

我要改成这样，才能在文件浏览那里看到上传了的文件

你原本是
def list
@root_path = Rails.public_path + "/uploads/"
@root_url = "/uploads/"
......
end

不知道是不是我配置的问题还是什么