aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-04-24 22:25:41 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-04-24 22:25:41 +0000
commit54bc5ca8d97b7ef8640686e50168ba25d7f23d27 (patch)
treed8f263a3db6c2f74543d8646e39737c446a48034
parent3022a44bceae870641000ebcf5548c3e6d65854a (diff)
downloadrails-54bc5ca8d97b7ef8640686e50168ba25d7f23d27.tar.gz
rails-54bc5ca8d97b7ef8640686e50168ba25d7f23d27.tar.bz2
rails-54bc5ca8d97b7ef8640686e50168ba25d7f23d27.zip
Include default route for formats
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-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