title: How to translate root specific resource declaration from Rails 2 to Rails 3?
body: <p>I'm migrating an application from Rails 2.3.5 to Rails 3.2.8. 
  I have this route from the Rails 2 app that is giving me headaches:</p>
  
  <pre><code>  map.resources :soumission_vt,
                  :path_prefix =&gt; "/soumission/VT/:page_id", :as =&gt; 'police/:action/:id',
                  :requirements =&gt; {:page_id =&gt; /\S+/}
  </code></pre>
  
  <p>wich generates the following:</p>
  
  <pre><code>soumission_vt_index GET    /soumission/VT/:page_id/police/:action/:id(.:format)               {:controller=&gt;"soumission_vt"}
                      POST   /soumission/VT/:page_id/police/:action/:id(.:format)               {:controller=&gt;"soumission_vt"}
  new_soumission_vt   GET    /soumission/VT/:page_id/police/:action/:id/new(.:format)           {:controller=&gt;"soumission_vt"}
  edit_soumission_vt  GET    /soumission/VT/:page_id/police/:action/:id/:id/edit(.:format)      {:controller=&gt;"soumission_vt"}
  soumission_vt       GET    /soumission/VT/:page_id/police/:action/:id/:id(.:format)           {:controller=&gt;"soumission_vt"}
                                      PUT    /soumission/VT/:page_id/police/:action/:id/:id(.:format)           {:controller=&gt;"soumission_vt"}
                      DELETE /soumission/VT/:page_id/police/:action/:id/:id(.:format)           {:controller=&gt;"soumission_vt"}
  </code></pre>
  
  <p>I translated it this way in Rails 3:</p>
  
  <pre><code>  scope '/soumission/VT/:page_id', :constraints =&gt; {:page_id =&gt; /\S+/} do
      resources :soumission_vt, :as =&gt; 'police/:action/:id'
    end
  </code></pre>
  
  <p>but I am getting an Invalid route name: 'police/:action/:id_index'...</p>
  
  <p>So is there a way to reproduce those routes in Rails 3?</p>
  
  <p>Thanks!</p>