search for: relative_root_url

Displaying 1 result from an estimated 1 matches for "relative_root_url".

2011 Nov 04
0
Why is relative_root_url not used to automatically scope routes?
Rails has had the concept of the relative_root_url / RAILS_RELATIVE_ROOT_URL for some time. In Rails 3.x (perhaps earlier as well, but I can''t remember), the relative_root_url is only used to generate asset paths. I never understood why this relative_root_url isn''t also used to automatically scope all the routes? Instead I have t...