config/routes.rb下的 map.connect ':controller/:action/:id' map.connect ':controller/:action/:id.:format'