title: How to link to a different controller in rails?
body: <p>I am learning Ruby on Rails and I have a dumb question about the <code>link_to</code> function.</p>
  
  <p>I set up a controller called "home" and I've created "index" as an action .  </p>
  
  <p>I've set up devise.  However, when I browse to some links like <code>sign_in</code>, <code>sign_up</code>, etc. I get this error:</p>
  
  <pre><code>Routing Error
  No route matches {:controller=&gt;"devise/home"}
  </code></pre>
  
  <p>I've narrowed it down to:</p>
  
  <pre><code>&lt;%= link_to "Home", { :controller =&gt; "home", :action =&gt; "index" }, :class =&gt; "navlink" %&gt;
  </code></pre>
  
  <p>This works for my actions for home but not for my devise actions.</p>
  
  <p>What am I missing here?</p>