diff options
| author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-04-01 16:12:43 +0530 |
|---|---|---|
| committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-04-01 19:49:36 +0530 |
| commit | a5a9fc9afb77633fb16bb29e8d26b4c44958d82c (patch) | |
| tree | ab897fe821ad1a2dc7b26844423cc00f07789af1 | |
| parent | 6e814ce62f8225c5f23f7a73d2896699ea99af48 (diff) | |
| download | rails-a5a9fc9afb77633fb16bb29e8d26b4c44958d82c.tar.gz rails-a5a9fc9afb77633fb16bb29e8d26b4c44958d82c.tar.bz2 rails-a5a9fc9afb77633fb16bb29e8d26b4c44958d82c.zip | |
copy editing [ci skip]
| -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 |
