We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a438b7 commit 8e98e4bCopy full SHA for 8e98e4b
1 file changed
user_guide_src/source/incoming/controllers/006.php
@@ -17,7 +17,9 @@ public function product(int $id)
17
];
18
19
if (! $this->validateData($data, $rule)) {
20
- // ...
+ return view('store/product', [
21
+ 'errors' => $this->validator->getErrors(),
22
+ ]);
23
}
24
25
// ...
0 commit comments