summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorgilvanleal <gilvan.sleal@gmail.com>2017-02-20 04:46:52 -0300
committerMartin Trigaux <mart-e@users.noreply.github.com>2017-02-20 08:46:52 +0100
commite1045e4625769c733cbd1b25c480db69532016ac (patch)
tree184a9381ea5f8abe6c2aee330ac3d59a0eeadfd7 /doc/reference
parent2ab080bcaedfc5d87ca68f24a72e893672e53f12 (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.rst2
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