Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lorisleiva authored May 8, 2020
1 parent e9801a9 commit e72337b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class PublishANewArticle extends Action
public function rules()
{
return [
'title' => 'required',
'body' => 'required|min:10',
'title' => ['required'],
'body' => ['required', 'min:10'],
];
}

Expand Down

0 comments on commit e72337b

Please sign in to comment.