Skip to content

Commit

Permalink
min 10 characters on slug
Browse files Browse the repository at this point in the history
  • Loading branch information
SethSharp committed Apr 15, 2024
1 parent ff5b80c commit 92a32b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Requests/Blogs/UpdateBlogRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public function rules(): array
'slug' => [
'nullable',
'string',
'min:10',
Rule::unique(Blog::class, 'slug')->ignore($this->route('blog')->id),
],
'tags' => [
Expand Down

0 comments on commit 92a32b1

Please sign in to comment.