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/configs/routes.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'railties/configs') 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