routes.rst - fix typo

This commit is contained in:
Morris Jobke
2013-03-26 00:09:48 +01:00
parent 8eaee56f18
commit 89aea2180b

View File

@@ -40,7 +40,7 @@ You can also limit the route to GET or POST requests by simply adding **->post()
);
?>
The fourth parameter is an instance of the **DIContaier** (see :doc:`../general/dependencyinjection`). If you want to replace objects in the container only for a certain request, you can do it like this:
The fourth parameter is an instance of the **DIContainer** (see :doc:`../general/dependencyinjection`). If you want to replace objects in the container only for a certain request, you can do it like this:
.. code-block:: php
@@ -66,4 +66,4 @@ The Twig templates also provide a function to create a link from a route :js:fun
.. code-block:: js
{{ url('yourappname_routename', {key: '1'}) }}
{{ url('yourappname_routename', {key: '1'}) }}