partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit fc4aab0f95ce90401404e18756627b118f2aea34
parent f7894298b8c9ae45e18035f09398ac0f073ab71a
Author: Felicitus <felicitus@felicitus.org>
Date:   Fri, 17 Jul 2015 01:13:15 +0200

Added missing group for serializing the description

Diffstat:
Msrc/PartKeepr/FootprintBundle/Entity/FootprintAttachment.php | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/PartKeepr/FootprintBundle/Entity/FootprintAttachment.php b/src/PartKeepr/FootprintBundle/Entity/FootprintAttachment.php @@ -3,6 +3,7 @@ namespace PartKeepr\FootprintBundle\Entity; use Doctrine\ORM\Mapping as ORM; use PartKeepr\UploadedFileBundle\Entity\UploadedFile; +use Symfony\Component\Serializer\Annotation\Groups; /** * Holds a footprint attachment @@ -14,7 +15,7 @@ class FootprintAttachment extends UploadedFile /** * The description of this attachment * @ORM\Column(type="text") - * + * @Groups({"default"}) * @var string */ private $description;