Open link in a new tab

Content

Expand project menu

deploying in a subdirectory

Hi all,

I have deployed (in production mode) OpenProject (beta from feature/rails3 branch this morning) in a subdirectory (i.e. http://HOST/openproject) and almost everything works OK, but I’m seeing an issue with generated API paths. For example, list of projects in the Projects drop-down doesn’t work as it’s trying to get http://HOST/api/v1/projects/level_list.json

I did specify RAILS_RELATIVE_URL_ROOT when running rake assets:precompile and also tried adding config.action_controller.relative_url_root to config/application.rb but it didn’t make any difference.

Do you think this may be an issue in OpenProject or in Rails? Or maybe I’m just doing something wrong?

Thanks,
Michael

Message actions

That sounds like a bug. If you can still reproduce it, would you mind filing a bug report under issues

Message actions

The issue is filed as

and we have begun working on it.