From 54bc5ca8d97b7ef8640686e50168ba25d7f23d27 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 24 Apr 2007 22:25:41 +0000 Subject: [PATCH] Include default route for formats git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/configs/routes.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/railties/configs/routes.rb b/railties/configs/routes.rb index 260163e181..1e11b65dae 100644 --- a/railties/configs/routes.rb +++ b/railties/configs/routes.rb @@ -19,6 +19,7 @@ ActionController::Routing::Routes.draw do |map| # -- just remember to delete public/index.html. # map.root :controller => "welcome" - # Install the default route as the lowest priority. + # Install the default routes as the lowest priority. map.connect ':controller/:action/:id' -end + map.connect ':controller/:action/:id.:format' +end \ No newline at end of file