diff options
-rw-r--r-- | guides/source/routing.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/routing.textile b/guides/source/routing.textile index 78d1783610..75f4e82918 100644 --- a/guides/source/routing.textile +++ b/guides/source/routing.textile @@ -544,7 +544,7 @@ TwitterClone::Application.routes.draw do end </ruby> -The +matches?+ method or the lambda is passed the "+request+ object":http://guides.rubyonrails.org/action_controller_overview.html#the-request-object, which means the constraint can check +request.path_parameters+, +request.headers+ or any other property of the request. +Both the +matches?+ method and the lambda gets the +request+ object as an argument. h4. Route Globbing |