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

Added map.connect ':controller/:action/:id.:format' as a default route to config/routes.rb [DHH]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2006-09-20 09:33:59 +00:00
parent a292cd3222
commit 5ddc82c3a1
2 changed files with 3 additions and 0 deletions

View file

@ -1,5 +1,7 @@
*SVN* *SVN*
* Added map.connect ':controller/:action/:id.:format' as a default route to config/routes.rb [DHH]
* Updated prototype.js to 1.5.0_rc1 with latest fixes. [Rick Olson] * Updated prototype.js to 1.5.0_rc1 with latest fixes. [Rick Olson]
- XPATH support - XPATH support

View file

@ -18,5 +18,6 @@ ActionController::Routing::Routes.draw do |map|
map.connect ':controller/service.wsdl', :action => 'wsdl' map.connect ':controller/service.wsdl', :action => 'wsdl'
# Install the default route as the lowest priority. # Install the default route as the lowest priority.
map.connect ':controller/:action/:id.:format'
map.connect ':controller/:action/:id' map.connect ':controller/:action/:id'
end end