Skip to content

Commit

Permalink
copy editing [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaydev committed Apr 1, 2012
1 parent 6e814ce commit a5a9fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/routing.textile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a5a9fc9

Please sign in to comment.