Fix assets with Rails relative url root

https://www.openproject.org/work_packages/12284