From 5ddc82c3a11a71806ea91f66fdb28fbbe30716f7 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 20 Sep 2006 09:33:59 +0000 Subject: Added map.connect ':controller/:action/:id.:format' as a default route to config/routes.rb [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/CHANGELOG | 2 ++ railties/configs/routes.rb | 1 + 2 files changed, 3 insertions(+) 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 -- cgit v1.2.3