Rails 3 relative root url is not used in links
I have a rails 3.0.1 app hosted on
using Phusion Passenger. In my configuration, I have the following:
ENV['RAILS_RELATIVE_URL_ROOT'] = "/v1"
Rail apps load fine. The problem is with links on the page. Whenever I use
with "/ some_path" as the url, the final url
doesn't it recognize my relative url root and include it when building links? How do I get around this?
source to share