Skip to content

Commit

Permalink
Add some more sensible defaults for validation groups.
Browse files Browse the repository at this point in the history
  • Loading branch information
reecefowell committed Jul 19, 2012
1 parent c8cfd9a commit 129b008
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Resources/config/validation.yml
Expand Up @@ -3,5 +3,7 @@ CCDNForum\ForumBundle\Entity\Flag:
status:
- NotNull: { groups: [moderate] }
moderatorsNote:
- Type: { type: string, groups: [moderate] }
- NotBlank: { groups: [moderate] }
- MinLength: { limit: 20, groups: [moderate] }
- MaxLength: { limit: 2000, groups: [moderate] }

0 comments on commit 129b008

Please sign in to comment.