title: why no path names for custom routes in Rails
body: <p>In my rails app following in routes.rb</p>
  
  <pre><code>resources :users
  </code></pre>
  
  <p>leads to following output for 'rake routes' </p>
  
  <pre><code> users        GET    /users(.:format)                 users#index
                POST   /users(.:format)                 users#create
   new_user     GET    /users/new(.:format)             users#new
   edit_user    GET    /users/:id/edit(.:format)        users#edit
   user         GET    /users/:id(.:format)             users#show
                PUT    /users/:id(.:format)             users#update
                DELETE /users/:id(.:format)             users#destroy
  </code></pre>
  
  <p>&amp; following in routes.rb (for my custom controller 'home')</p>
  
  <pre><code>match  '/new_user'        =&gt;          'home#new_user', via: [:get]
  match  '/users/:id/edit'  =&gt;          'home#edit_user', via: [:get]
  match  '/users/:id'       =&gt;          'home#show_user', via: [:get]
  match  '/users/:id'       =&gt;          'home#create_user', via: [:post]
  </code></pre>
  
  <p>leads to following output for 'rake routes'</p>
  
  <pre><code>GET    /new_user(.:format)                home#new_user
  GET    /users/:id/edit(.:format)          home#edit_user
  GET    /users/:id(.:format)               home#show_user
  POST   /users/:id(.:format)               home#create_user
  </code></pre>
  
  <p>why there are no path names for second case? like in first case ('new_user', 'edit_user')</p>
  
  <p>is there any way to have path names for second case? as i want to use these path names in my views </p>