Permalink
Browse files

Update route globbing documention in RDoc

  • Loading branch information...
1 parent b8907d2 commit 4cbf55344d07d552b00e1522b4e208bcaaf46504 @pixeltrix pixeltrix committed Jan 15, 2009
Showing with 4 additions and 3 deletions.
  1. +4 −3 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
#

0 comments on commit 4cbf553

Please sign in to comment.