Update README.md

Should be "listener: ~" on the line 595, otherwise listener does not working
This commit is contained in:
igorRovenki 2013-11-06 11:01:53 +02:00
parent 8a14fbd73b
commit be4c99a0d3

View file

@ -592,7 +592,7 @@ Declare that you want to update the index in real time:
persistence:
driver: orm
model: Application\UserBundle\Entity\User
listener: # by default, listens to "insert", "update" and "delete"
listener: ~ # by default, listens to "insert", "update" and "delete"
Now the index is automatically updated each time the state of the bound Doctrine repository changes.
No need to repopulate the whole "user" index when a new `User` is created.