diff options
| author | R.T. Lechow <rtlechow@gmail.com> | 2011-03-04 00:09:26 -0500 |
|---|---|---|
| committer | R.T. Lechow <rtlechow@gmail.com> | 2011-03-04 01:01:48 -0500 |
| commit | 12325cf970cc62f7ce3723177da3ee7ba122bedf (patch) | |
| tree | 86135f5033c372c6bf46bfa1d93da1a49aad4eec /actionpack/lib/action_dispatch | |
| parent | 238e6f0c6e79257f3e522e66dd96f8249d0af0b0 (diff) | |
| download | rails-12325cf970cc62f7ce3723177da3ee7ba122bedf.tar.gz rails-12325cf970cc62f7ce3723177da3ee7ba122bedf.tar.bz2 rails-12325cf970cc62f7ce3723177da3ee7ba122bedf.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 |
