Forum: Ruby on Rails help from Routing guru ...

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Kad K. (Guest)
on 2009-05-23 18:04
(Received via mailing list)
using such route  :

  map.namespace(:hubs) do |hub|
    hub.resources :settings,
      :member     => { :general => :get }

I get :

 {:action=>"general", :controller=>"hubs/settings"}

but I would like to get
 {:action=>"general", :controller=>"hubs/settings"  with params[:id] =

what kind of route I should use ?

thanks for your help
This topic is locked and can not be replied to.