浏览代码

clarify lock protection cookbook to specify fieldname

Matthew Webb 9 年之前
父节点
当前提交
711c976347
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Resources/doc/cookbook/recipe_lock_protection.rst

+ 1 - 1
Resources/doc/cookbook/recipe_lock_protection.rst

@@ -30,7 +30,7 @@ You can enable it in your ``sonata_admin`` configuration :
             options:
                 lock_protection: true
                 
-You must also configure each entity that you want to support by adding a ``version`` field.
+You must also configure each entity that you want to support by adding a field called ``$version`` on which the Doctrine ``Version`` feature is activated.
 
 .. code-block:: php