diff options
| author | gilvanleal <gilvan.sleal@gmail.com> | 2017-02-20 04:46:52 -0300 |
|---|---|---|
| committer | Martin Trigaux <mart-e@users.noreply.github.com> | 2017-02-20 08:46:52 +0100 |
| commit | e1045e4625769c733cbd1b25c480db69532016ac (patch) | |
| tree | 184a9381ea5f8abe6c2aee330ac3d59a0eeadfd7 /doc/reference | |
| parent | 2ab080bcaedfc5d87ca68f24a72e893672e53f12 (diff) | |
[FIX] doc: correct server action variable name
self is not defined, use model instead
Closes #15556
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/actions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/reference/actions.rst b/doc/reference/actions.rst index 221c01ecfe6..21547b9e8fd 100644 --- a/doc/reference/actions.rst +++ b/doc/reference/actions.rst @@ -350,7 +350,7 @@ Evaluation context A number of keys are available in the evaluation context of or surrounding server actions: -``self`` +``model`` the model object linked to the action via ``model_id`` ``object``, ``obj`` only available if ``active_model`` and ``active_id`` are provided (via |
