1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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