diff options
author | R.T. Lechow <rtlechow@gmail.com> | 2011-03-04 00:09:26 -0500 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-03-05 11:56:35 +0100 |
commit | 87e9e3f9afa470df49f2a07af87074b9f4567028 (patch) | |
tree | 1fbade796bb092ca2c48bcdfd67262372668d18e /actionpack/lib/action_dispatch | |
parent | a1b4d8e7b277ddcfba6c31cbb9245025123cf04b (diff) | |
download | rails-87e9e3f9afa470df49f2a07af87074b9f4567028.tar.gz rails-87e9e3f9afa470df49f2a07af87074b9f4567028.tar.bz2 rails-87e9e3f9afa470df49f2a07af87074b9f4567028.zip |
Action Pack typos.
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index 589df218a8..1733c8032a 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -700,7 +700,7 @@ module ActionDispatch # Now routes such as +/posts/1+ will no longer be valid, but +/posts/1.1+ will be. # The +id+ parameter must match the constraint passed in for this example. # - # You may use this to also resrict other parameters: + # You may use this to also restrict other parameters: # # resources :posts do # constraints(:post_id => /\d+\.\d+) do @@ -720,7 +720,7 @@ module ActionDispatch # # === Dynamic request matching # - # Requests to routes can be constrained based on specific critera: + # Requests to routes can be constrained based on specific criteria: # # constraints(lambda { |req| req.env["HTTP_USER_AGENT"] =~ /iPhone/ }) do # resources :iphones |