mirror of
https://github.com/github/rails.git
synced 2026-01-30 16:58:15 -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:
@@ -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
|
||||
Reference in New Issue
Block a user