Absolute default route in routes.rb

how do you set a default route in routes.rb

so that anything not recognised will default to :controller => ‘home’

map.connect ‘*’, :controller => “home”

does not work so well

cheers

found answer

replace

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

with

%w{articles pages xml other controller names}.each do |c|
map.connect “#{c}/:action/:id”, :controller => c
end