aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/routing.textile
diff options
context:
space:
mode:
authorMike Gunderloy <MikeG1@larkfarm.com>2009-03-10 07:19:30 -0500
committerMike Gunderloy <MikeG1@larkfarm.com>2009-03-10 07:19:30 -0500
commit65309c57bb367ce5b80df1906aec02da6295698d (patch)
treeacc66c5fb9a56afccca48dd8a4196e901ed62a86 /railties/guides/source/routing.textile
parent8db16e86c8506aa863590ef77973d159ec9eca2f (diff)
downloadrails-65309c57bb367ce5b80df1906aec02da6295698d.tar.gz
rails-65309c57bb367ce5b80df1906aec02da6295698d.tar.bz2
rails-65309c57bb367ce5b80df1906aec02da6295698d.zip
Fix typo in Routing Guide
Diffstat (limited to 'railties/guides/source/routing.textile')
-rw-r--r--railties/guides/source/routing.textile2
1 files changed, 1 insertions, 1 deletions
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:
<ruby>
map.resources :photos, :requirements => {:id => /[A-Z][A-Z][0-9]+/}