Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Mar 14, 2022
1 parent 37b8901 commit 27622f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/MicroweberPackages/Page/Http/Requests/PageRequest.php
Expand Up @@ -23,7 +23,11 @@ public function authorize()
public function rules()
{
$rules = [
// 'title' => 'required', // todo with multilanguage
'title' => 'required|max:500',
'url' => 'max:500',
'content_meta_title' => 'max:500',
'content_meta_keywords' => 'max:500',
'original_link' => 'max:500',
];

return $rules;
Expand Down
1 change: 0 additions & 1 deletion src/MicroweberPackages/Post/Http/Requests/PostRequest.php
Expand Up @@ -27,7 +27,6 @@ public function rules()
$rules = [
'title' => 'required|max:500',
'url' => 'max:500',
'description' => 'max:500',
'content_meta_title' => 'max:500',
'content_meta_keywords' => 'max:500',
'original_link' => 'max:500',
Expand Down
Expand Up @@ -16,7 +16,6 @@ public function rules()
$rules = [
'title' => 'required|max:500',
'url' => 'max:500',
'description' => 'max:500',
'content_meta_title' => 'max:500',
'content_meta_keywords' => 'max:500',
'original_link' => 'max:500',
Expand Down

0 comments on commit 27622f0

Please sign in to comment.