diff --git a/railties/CHANGELOG b/railties/CHANGELOG index 02b6fe5ba6..07560f26c7 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Added map.connect ':controller/:action/:id.:format' as a default route to config/routes.rb [DHH] + * Updated prototype.js to 1.5.0_rc1 with latest fixes. [Rick Olson] - XPATH support diff --git a/railties/configs/routes.rb b/railties/configs/routes.rb index 27fcae80d4..9bbc463769 100644 --- a/railties/configs/routes.rb +++ b/railties/configs/routes.rb @@ -18,5 +18,6 @@ ActionController::Routing::Routes.draw do |map| map.connect ':controller/service.wsdl', :action => 'wsdl' # Install the default route as the lowest priority. + map.connect ':controller/:action/:id.:format' map.connect ':controller/:action/:id' end