From 65309c57bb367ce5b80df1906aec02da6295698d Mon Sep 17 00:00:00 2001 From: Mike Gunderloy Date: Tue, 10 Mar 2009 07:19:30 -0500 Subject: Fix typo in Routing Guide --- railties/guides/source/routing.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties') diff --git a/railties/guides/source/routing.textile b/railties/guides/source/routing.textile index c26a5cd6ee..26aa683710 100644 --- a/railties/guides/source/routing.textile +++ b/railties/guides/source/routing.textile @@ -282,7 +282,7 @@ TIP: Depending on the other code in your application, you may prefer to add addi h5. Using :requirements -You an use the +:requirements+ option in a RESTful route to impose a format on the implied +:id+ parameter in the singular routes. For example: +You can use the +:requirements+ option in a RESTful route to impose a format on the implied +:id+ parameter in the singular routes. For example: map.resources :photos, :requirements => {:id => /[A-Z][A-Z][0-9]+/} -- cgit v1.2.3