This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

fixed error in fckeditor controller, where actionwebservice dispatch …

…was confused about where to find ActionController::Base. Fixes the 'unknown error creating folder' bug in fckeditor resource browser
  • Loading branch information...
Josh Adams
Josh Adams committed Mar 24, 2009
1 parent 332ec48 commit c415593eb54ff0d97f73dd5190bf0ef0574378d8
Showing with 1 addition and 1 deletion.
  1. +1 −1 vendor/plugins/fckeditor/app/controllers/fckeditor_controller.rb
@@ -133,7 +133,7 @@ def current_directory_path
end

def upload_directory_path
uploaded = ActionController::Base.relative_url_root.to_s+"#{UPLOADED}/#{params[:Type]}"
uploaded = ::ActionController::Base.relative_url_root.to_s+"#{UPLOADED}/#{params[:Type]}"
"#{uploaded}#{params[:CurrentFolder]}"
end

0 comments on commit c415593

Please sign in to comment.