aboutsummaryrefslogtreecommitdiffstats
path: root/railties/configs/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/configs/routes.rb')
-rw-r--r--railties/configs/routes.rb5
1 files 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