fckeditor 在rails 2.2问题解决



class FckeditorController < ActionController::Base

下将
uploaded = request.relative_url_root.to_s+"#{UPLOADED}/#{params[:Type]}"
改成uploaded = ActionController::Base.relative_url_root.to_s+"#{UPLOADED}/#{params[:Type]}"


lib/fckeditor.rb下将

js_path = "#{request.relative_url_root}/javascripts"
改成js_path = "#{ActionController::Base.relative_url_root}/javascripts"

你可能感兴趣的:(fckeditor,职场,Rails,休闲)