From 66ce2a216bb243d2b47a41e12e0628cdf03fdb9f Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 7 May 2014 17:56:07 +0200 Subject: [PATCH] fix routes lifecycle --- developer_manual/app/request.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/developer_manual/app/request.rst b/developer_manual/app/request.rst index 789a37ae9..5a0734856 100644 --- a/developer_manual/app/request.rst +++ b/developer_manual/app/request.rst @@ -24,18 +24,18 @@ The type of the app is determined by inspecting the app's :doc:`configuration fi Afterwards the following steps are performed: -* Try to `authenticate the user ` +* Try to :doc:`authenticate the user ` * Load and execute all the remaining apps' :doc:`main` files * Load and run all the routes in the apps' :file:`appinfo/routes.php` * Execute the router Router ------ -The router parses the :doc:`apps routing files ` (:file:`appinfo/routes.php), inspects the request's **method** and **url**, queries the controller from the :doc:`container` and then passes control to the dispatcher. The dispatcher is responsible for running the hooks (called Middleware) before and after the controller, executing the controller method and rendering the output. +The router parses the :doc:`apps routing files ` (:file:`appinfo/routes.php`), inspects the request's **method** and **url**, queries the controller from the :doc:`container` and then passes control to the dispatcher. The dispatcher is responsible for running the hooks (called Middleware) before and after the controller, executing the controller method and rendering the output. Middleware ---------- -A :doc:`Middleware ` is a convenient way to execute common tasks such as custom authentication before or after a :doc:`controller method ` is being run. You can execute code at the following locations: +A :doc:`Middleware ` is a convenient way to execute common tasks such as custom authentication before or after a :doc:`controller method ` is being run. You can execute code at the following locations: * before the call of the controller method * after the call of the controller method