Permalink
Browse files

Fix typo in Routing Guide

  • Loading branch information...
1 parent 8db16e8 commit 65309c57bb367ce5b80df1906aec02da6295698d @ffmike ffmike committed Mar 10, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 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]+/}

0 comments on commit 65309c5

Please sign in to comment.