Fix documentation about identity

Updated the order of identity resolving according to current source.
This commit is contained in:
Oleg 2019-08-19 22:41:36 +03:00 committed by Tommi Reiman
parent 42e5746c2f
commit 15395f8239

View file

@ -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.