Update route globbing documention in RDoc

This commit is contained in:
Andrew White
2009-01-15 23:34:25 +00:00
parent b8907d2e6e
commit 4cbf55344d

View File

@@ -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
#