title: Rails: Where does new_*something*_path variable get set up?
body: <p>I created a scaffold for 'messages', and new_message_path and edit_message_path (for use in link_to's) are all set up, but now I've created app/views/messages/sent.html.erb, and I want to do something along the lines of &lt;%= link_to 'Sent', sent_message_path %>, but I can't figure out how to do that. I get </p>
  
  <pre><code>undefined local variable or method `sent_message_path' for #&lt;ActionView::Base:0x103117c50&gt;
  </code></pre>