title: Trouble in Rails 3 Adding Restful Routes to Namespaced Resources
body: <p>I am trying to add a route to a controller that has been set as a resource in the 'admin' namespace like this:</p>
  
  <pre><code>namespace :admin do
    resources :books do
      collection do
        post :process_new
      end
    end
  end
  </code></pre>
  
  <p>I have added an action int the Admin::BooksController for process_new, but whenever I try to access this action using the url: .../admin/books/process_new I get the following error:</p>
  
  <pre><code>Couldn't find Book with ID=process_new
  </code></pre>
  
  <p>It looks like it's routing to the show action and trying to use process_new as the id.  Can someone shed some light on what I may be doing wrong?  </p>
  
  <p>**Edit:
  I changed my redirects to use the helper functions and it seems to be working.</p>