aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-03-20 14:04:33 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-03-20 14:04:33 +0000
commit37a46151ec14ae11f5306d997b822f30be7a69d3 (patch)
tree40d12bfc04ce9bd1bc90596ef966b5cc218f38f8 /actionpack/CHANGELOG
parentce9a9433b38b6f7dc024ec249cadc92a4ab4533c (diff)
downloadrails-37a46151ec14ae11f5306d997b822f30be7a69d3.tar.gz
rails-37a46151ec14ae11f5306d997b822f30be7a69d3.tar.bz2
rails-37a46151ec14ae11f5306d997b822f30be7a69d3.zip
Added path collection syntax for Routes that will gobble up the rest of the url and pass it on to the controller #830 [rayners]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@927 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r--actionpack/CHANGELOG7
1 files changed, 7 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index 9488d7847d..0a7435e799 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,5 +1,12 @@
*SVN*
+* Added path collection syntax for Routes that will gobble up the rest of the url and pass it on to the controller #830 [rayners]. Example:
+
+ map.connect 'categories/*path_info', :controller => 'categories', :action => 'show'
+
+ A request for /categories/top-level-cat, would give @params[:path_info] with "top-level-cat".
+ A request for /categories/top-level-cat/level-1-cat, would give @params['path_info'] with "top-level-cat/level-1-cat" and so forth.
+
* Fixed options_for_select on selected line issue #624 [Florian Weber]
* Added CaptureHelper with CaptureHelper#capture and CaptureHelper#content_for. See documentation in helper #837 [Tobias Luetke]