Hi, lets say I defined the following resources: map.resources :profiles Is it possible to add a custom parameter just to one action via a block in the map.resources statement? I found the following solutions: map.resources :profiles, :path_prefix => ''/ profilecategory/:profilecategory_id'' Problem here: It applies to every action, but I want it e.q. only for the ''new'' action. map.profile ''/profile/:username'', :controller => ''profiles'', :action => ''show'' This works for one action, problem here: There still exists the route from map.resources to ''show'', which would be something like ''/ profiles/:profile_id'' Any suggestions? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---