diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-04-24 22:25:41 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-04-24 22:25:41 +0000 |
commit | 54bc5ca8d97b7ef8640686e50168ba25d7f23d27 (patch) | |
tree | d8f263a3db6c2f74543d8646e39737c446a48034 /railties/configs | |
parent | 3022a44bceae870641000ebcf5548c3e6d65854a (diff) | |
download | rails-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
Diffstat (limited to 'railties/configs')
-rw-r--r-- | railties/configs/routes.rb | 5 |
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 |