Permalink
Browse files

copy editing [ci skip]

  • Loading branch information...
vijaydev committed Apr 1, 2012
1 parent 6e814ce commit a5a9fc9afb77633fb16bb29e8d26b4c44958d82c
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit a5a9fc9

Please sign in to comment.