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:
parent
3022a44bce
commit
54bc5ca8d9
1 changed files with 3 additions and 2 deletions
|
@ -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
|
Loading…
Reference in a new issue