mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
routes.rst - fix typo
This commit is contained in:
@@ -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'}) }}
|
||||
|
||||
Reference in New Issue
Block a user