From a5a9fc9afb77633fb16bb29e8d26b4c44958d82c Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Sun, 1 Apr 2012 16:12:43 +0530 Subject: copy editing [ci skip] --- guides/source/routing.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source') 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 -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 -- cgit v1.2.3