Skip to content

Commit 806386e

Browse files
authored
Lower slug character limit to 1
1 parent 7308f43 commit 806386e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SWP/Bundle/ContentBundle/Resources/config/validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SWP\Bundle\ContentBundle\Model\Article:
88
slug:
99
- NotBlank: ~
1010
- Length:
11-
min: 3
11+
min: 1
1212
max: 200
1313
minMessage: 'Slug must be at least {{ limit }} characters long'
1414
maxMessage: 'Slug cannot be longer than {{ limit }} characters'

0 commit comments

Comments
 (0)