I’m redesigning an existing site, and want to put the draft redesign in a subfolder “newDraft”. All links work, except the link to the home page, the ‘root’ of the new design.
If I use:
<li><% link_to '/' do %>Home<% end %></li>
then the ‘Home’ link goes to the root of the old site.
I tried using a Base URL:
<base href="http://www.website.com/newDraft" />
but that means that my live development env breaks because the styles and javascripts can’t be found.
Interesting edge case? Not intended to deploy within existing sites? Or, more likely, I’m missing something. Pointers appreciated.