]> Raphaƫl G. Git Repositories - treebundle/blobdiff - config/doctrine/Album.orm.yml
Add album and element templates
[treebundle] / config / doctrine / Album.orm.yml
index 05cbd62e3beca7f098e30531aef3eda00b726456..54659b02645c10b7905a2237fb7818149e82a500 100644 (file)
@@ -25,8 +25,8 @@ Rapsys\TreeBundle\Entity\Album:
         updated:
             type: datetime
     oneToMany:
-        assets:
-            targetEntity: Rapsys\TreeBundle\Entity\Asset
+        elements:
+            targetEntity: Rapsys\TreeBundle\Entity\Element
             mappedBy: album
     lifecycleCallbacks:
         preUpdate: ['preUpdate']