0.1: replace Request with FormRequest in all controllers

This commit is contained in:
parsa aghaei committed 2026-06-23 18:04:57 +03:30
1 parent ffafcf447b
commit f3568ab277
15 files changed
+277 -107

No files matched your search

@@ -0,0 +1,20 @@
<?php
namespace App\Http\Requests\Website;
use Illuminate\Foundation\Http\FormRequest;
class StoreAboutMeRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'image' => 'required|string|max:255',
];
}
}