Explorar o código

Fixed prePersist/preUpdate typo ref #1526

Christian Morgan %!s(int64=12) %!d(string=hai) anos
pai
achega
127385e0a9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Resources/doc/reference/saving_hooks.rst

+ 1 - 1
Resources/doc/reference/saving_hooks.rst

@@ -35,7 +35,7 @@ https://github.com/FriendsOfSymfony/FOSUserBundle/ for more information.
 
 The user management system requires to perform specific call when the user
 password or username are updated. This is how the Admin bundle can be used to
-solve the issue by using the ``prePersist`` saving hook.
+solve the issue by using the ``preUpdate`` saving hook.
 
 .. code-block:: php