Permalink
Browse files

Typos and a link fix

  • Loading branch information...
1 parent 6c767ba commit 1b2769fc5a59d5bbf02e36d4657a29c61fa031f2 @shama shama committed Dec 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 en/development/routing.rst
@@ -481,7 +481,7 @@ Using additional conditions when matching routes
------------------------------------------------
When creating routes you might want to restrict certain URL's based on specific
-request/enviroment settings. A good example of this is :doc:`development/rest`
+request/environment settings. A good example of this is :doc:`rest`
routing. You can specify additional conditions in the ``$defaults`` argument for
:php:meth:`Router::connect()`. By default CakePHP exposes 3 environment
conditions, but you can add more using :ref:`custom-route-classes`. The built-in
@@ -501,7 +501,7 @@ option to create a custom RESTful route::
);
The above route will only match for ``PUT`` requests. Using these conditions,
-you can create custom REST routing, or other request data dependant information.
+you can create custom REST routing, or other request data dependent information.
.. index:: passed arguments
.. _passed-arguments:

0 comments on commit 1b2769f

Please sign in to comment.