Namespaced routes

Could someone tell me how you would set up default routes within a
namspace
similar to this…

map.connect ‘:namspace/:controller/:action/:id’

I have tried several ways inside…

map.namespace :example do |a|

end

with no luck.

Thanks,
Chris