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