Merge branch '260-privacy-policy-ui' into 'master'

Resolve "Privacy policy UI"

Closes #260

See merge request jankstudio/resq!307
This commit is contained in:
Kendrick Chan 2019-08-30 03:56:22 +00:00
commit b1ab6e5df2

View file

@ -3,6 +3,7 @@
namespace App\Entity; namespace App\Entity;
use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Symfony\Component\Validator\Constraints as Assert; use Symfony\Component\Validator\Constraints as Assert;
/** /**
@ -22,6 +23,7 @@ class PrivacyPolicy
// name // name
/** /**
* @ORM\Column(type="string", length=80) * @ORM\Column(type="string", length=80)
* @Assert\NotBlank()
*/ */
protected $name; protected $name;