title: how to set up and use a Rails routes prefix
body: <p>When running rake routes I see: </p>
  
  <pre><code> Prefix   Verb   URI Pattern                                       Controller#Action
   articles  GET    /articles(.:format)                               articles#index
   new_article GET    /articles/new(.:format)                           articles#new
  </code></pre>
  
  <p>along with some others I left out. </p>
  
  <p>This is because my routes.rb file has: </p>
  
  <pre><code>resources :articles
  </code></pre>
  
  <p>My question is what exactly is this Prefix, and how would I change it?</p>
  
  <p>From my understanding it is a shortcut to the URI, so in my app I could just refer to new_article instead of articles/new? Do I really refer to @new_article or is there some other format to reference it. </p>
  
  <p>Second question, how do I edit that? Lets say I want a prefix called new_document instead of new_article for the get request on that url. What would I put in my routes.rb file? </p>
  
  <p><a href="http://guides.rubyonrails.org/routing.html#prefixing-the-named-route-helpers" rel="noreferrer">I looked at this link from the rails guides but all it seems to show is how to make the url longer by adding a prefix in front of it. </a></p>