diff options
author | Jamis Buck <jamis@37signals.com> | 2006-06-01 15:42:08 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2006-06-01 15:42:08 +0000 |
commit | b20c575ac02373723438468932ceddd97056c9ec (patch) | |
tree | 5f977af66c7c75f1d11ba9a81a3bfac75a452e6e /actionpack/CHANGELOG | |
parent | 74b7bfa6d2c5c777b11cb6ea8687c0461b579f7e (diff) | |
download | rails-b20c575ac02373723438468932ceddd97056c9ec.tar.gz rails-b20c575ac02373723438468932ceddd97056c9ec.tar.bz2 rails-b20c575ac02373723438468932ceddd97056c9ec.zip |
New routes implementation. Simpler, faster, easier to understand. The published API for config/routes.rb is unchanged, but nearly everything else is different, so expect breakage in plugins and libs that try to fiddle with routes.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4394 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r-- | actionpack/CHANGELOG | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 47d5f8fb8c..2af08a5ae2 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,11 @@ *SVN* +* Routing rewrite. Simpler, faster, easier to understand. The published API for config/routes.rb is unchanged, but nearly everything else is different, so expect breakage in plugins and libs that try to fiddle with routes. [Nicholas Seckar, Jamis Buck] + + map.connect '/foo/:id', :controller => '...', :action => '...' + map.connect '/foo/:id.:format', :controller => '...', :action => '...' + map.connect '/foo/:id', ..., :conditions => { :method => :get } + * Cope with missing content type and length headers. Parse parameters from multipart and urlencoded request bodies only. [Jeremy Kemper] * Accept multipart PUT parameters. #5235 [guy.naor@famundo.com] @@ -37,7 +43,6 @@ All this relies on the fact that you have a route that includes .:format. - * Expanded :method option in FormTagHelper#form_tag, FormHelper#form_for, PrototypeHelper#remote_form_for, PrototypeHelper#remote_form_tag, and PrototypeHelper#link_to_remote to allow for verbs other than GET and POST by automatically creating a hidden form field named _method, which will simulate the other verbs over post [DHH] * Added :method option to UrlHelper#link_to, which allows for using other verbs than GET for the link. This replaces the :post option, which is now deprecated. Example: link_to "Destroy", person_url(:id => person), :method => :delete [DHH] |