I have a rails app with redactor-rails running in a sub-URL like http://www.domain.com/sub/. I could easily add the sub-URL to the paths at config.js for imageUpload, imageGetJson, etc. But I could not find a configuration to add the sub-URL for the image URL which is used for uploaded images within redactor. The URL starts directly with /system, which does not work, if the application runs in a subdirectory of domain:
I have a rails app with redactor-rails running in a sub-URL like http://www.domain.com/sub/. I could easily add the sub-URL to the paths at config.js for imageUpload, imageGetJson, etc. But I could not find a configuration to add the sub-URL for the image URL which is used for uploaded images within redactor. The URL starts directly with /system, which does not work, if the application runs in a subdirectory of domain: