From 15395f823979109d867195727eb30cd061f69053 Mon Sep 17 00:00:00 2001 From: Oleg Date: Mon, 19 Aug 2019 22:41:36 +0300 Subject: [PATCH] Fix documentation about identity Updated the order of identity resolving according to current source. --- doc/frontend/controllers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/frontend/controllers.md b/doc/frontend/controllers.md index 13dcef08..18f8c6cf 100644 --- a/doc/frontend/controllers.md +++ b/doc/frontend/controllers.md @@ -17,8 +17,8 @@ controller identity * `start` & `stop` functions, which are called with controller identity When you navigate to a route that has a controller, controller identity -is first resolved by calling `identity` function, or by using `parameters` -declaration, or if neither is set, the identity is `nil`. Next, the controller +is first resolved by using `parameters` declaration, or by calling `identity` function, +or if neither is set, the identity is `nil`. Next, the controller is initialized by calling `start` with the controller identity value. When you exit that route, `stop` is called with the last controller identity value.