title: Link only works when opened in new tab/window
body: <p>I have a Rails app, and on one of my pages, the links only work when opened in a new tab for some reason.</p>
  
  <p>I have a main controller which opens links to other controllers fine. When I'm in my locations controller, the links only open up in a new tab for some reason. The URL is correct, the only problem is that nothing happens when I simply click the link.</p>
  
  <p>Here is my link:</p>
  
  <pre><code>&lt;a id="menu_link" href="../"&gt;Menu&lt;/a&gt;
  </code></pre>
  
  <p>The <code>href</code> is basically saying go back to the root of the site.</p>
  
  <p>I have also tried:</p>
  
  <pre><code>&lt;%= link_to({:controller =&gt; "main", :action =&gt; "home"}, :id =&gt; 'menu_link') do %&gt;
    &lt;li&gt;Menu&lt;/li&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>My routes.rb file:</p>
  
  <pre><code>root :to =&gt; "main#home"
  match 'admin', :to =&gt; 'access#admin_index'
  match 'locations', :to =&gt; 'ranch_locations#locations'
  match ':controller(/:action(/:id))(.:format)'
  </code></pre>