projects
/
epnadmin
/
epnadmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f35c56
)
FIX: typo sf2.0>sf2.1
author
Marc Carlucci
<mc@glouglou.net>
Fri, 13 Jul 2012 08:48:34 +0000
(09:48 +0100)
committer
Marc Carlucci
<mc@glouglou.net>
Fri, 13 Jul 2012 08:48:34 +0000
(09:48 +0100)
src/Epnadmin/CoreBundle/Entity/Resource.php
patch
|
blob
|
history
diff --git
a/src/Epnadmin/CoreBundle/Entity/Resource.php
b/src/Epnadmin/CoreBundle/Entity/Resource.php
index
f59f4d4
..
2a74fc7
100644
(file)
--- a/
src/Epnadmin/CoreBundle/Entity/Resource.php
+++ b/
src/Epnadmin/CoreBundle/Entity/Resource.php
@@
-3,6
+3,7
@@
namespace Epnadmin\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
+use Symfony\Component\Validator\Constraints as Assert;
/**
* @ORM\Entity
@@
-32,7
+33,7
@@
class Resource
/**
* @ORM\Column(type="string", length=100)
- * @
assert:
NotBlank
+ * @
Assert\
NotBlank
*/
protected $name;