aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2009-01-15 23:34:25 +0000
committerAndrew White <andyw@pixeltrix.co.uk>2009-01-15 23:34:25 +0000
commit4cbf55344d07d552b00e1522b4e208bcaaf46504 (patch)
tree763db717de2da2c7e5a16b72b369939dc4eb0793
parentb8907d2e6ed8e40445a1148077dc49849d751098 (diff)
downloadrails-4cbf55344d07d552b00e1522b4e208bcaaf46504.tar.gz
rails-4cbf55344d07d552b00e1522b4e208bcaaf46504.tar.bz2
rails-4cbf55344d07d552b00e1522b4e208bcaaf46504.zip
Update route globbing documention in RDoc
-rw-r--r--actionpack/lib/action_controller/routing.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/routing.rb b/actionpack/lib/action_controller/routing.rb
index da9b56fdf9..6d089b36b9 100644
--- a/actionpack/lib/action_controller/routing.rb
+++ b/actionpack/lib/action_controller/routing.rb
@@ -193,9 +193,10 @@ module ActionController
#
# map.connect '*path' , :controller => 'blog' , :action => 'unrecognized?'
#
- # will glob all remaining parts of the route that were not recognized earlier. This idiom
- # must appear at the end of the path. The globbed values are in <tt>params[:path]</tt> in
- # this case.
+ # will glob all remaining parts of the route that were not recognized earlier.
+ # The globbed values are in <tt>params[:path]</tt> as an array of path segments.
+ # Originally this parameter had to be at the end of the route definition,
+ # however as of Rails 2.0 this is no longer the case.
#
# == Route conditions
#