Include default route for formats

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson
2007-04-24 22:25:41 +00:00
parent 3022a44bce
commit 54bc5ca8d9

View File

@@ -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