From 4cbf55344d07d552b00e1522b4e208bcaaf46504 Mon Sep 17 00:00:00 2001 From: Andrew White Date: Thu, 15 Jan 2009 23:34:25 +0000 Subject: Update route globbing documention in RDoc --- actionpack/lib/action_controller/routing.rb | 7 ++++--- 1 file 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 params[:path] in - # this case. + # will glob all remaining parts of the route that were not recognized earlier. + # The globbed values are in params[:path] 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 # -- cgit v1.2.3