Displaying 1 result from an estimated 1 matches for "upload_directory_path".
2009 Mar 26
0
Error On relative_url_root
...'' Fckeditor and the Fckeditor
plugin provided by Scott Rutherford.
http://blog.caronsoftware.com/2008/6/21/fckeditor-plugin-0-5-1-released
The Scott''s plugin has a controller than handles the Fckeditor file
upload and browse, but it errors out on the following lines.
def upload_directory_path
uploaded = request.relative_url_root.to_s+"#{UPLOADED}/
#{params[:Type]}"
"#{uploaded}#{params[:CurrentFolder]}"
end
If I remove the request.relative_url_root.to_s it works fine.
def upload_directory_path
uploaded = "#{UPLOADED}/#{params[:Type]}&quo...