aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-09-20 09:33:59 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-09-20 09:33:59 +0000
commit5ddc82c3a11a71806ea91f66fdb28fbbe30716f7 (patch)
tree6f65c75df72e73563114a1d763efeca55131ee51
parenta292cd32226234a63fea0f1de48c5f38d4307fd1 (diff)
downloadrails-5ddc82c3a11a71806ea91f66fdb28fbbe30716f7.tar.gz
rails-5ddc82c3a11a71806ea91f66fdb28fbbe30716f7.tar.bz2
rails-5ddc82c3a11a71806ea91f66fdb28fbbe30716f7.zip
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
-rw-r--r--railties/CHANGELOG2
-rw-r--r--railties/configs/routes.rb1
2 files changed, 3 insertions, 0 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG
index 02b6fe5ba6..07560f26c7 100644
--- a/railties/CHANGELOG
+++ b/railties/CHANGELOG
@@ -1,5 +1,7 @@
*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]
- XPATH support
diff --git a/railties/configs/routes.rb b/railties/configs/routes.rb
index 27fcae80d4..9bbc463769 100644
--- a/railties/configs/routes.rb
+++ b/railties/configs/routes.rb
@@ -18,5 +18,6 @@ ActionController::Routing::Routes.draw do |map|
map.connect ':controller/service.wsdl', :action => 'wsdl'
# Install the default route as the lowest priority.
+ map.connect ':controller/:action/:id.:format'
map.connect ':controller/:action/:id'
end