Changeset d795fa6 for app/Http/Requests/Dashboard/DocumentRequest.php
- Timestamp:
- 10/17/21 18:39:50 (3 years ago)
- Branches:
- develop, master
- Children:
- bd9e8e3
- Parents:
- 120759b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
app/Http/Requests/Dashboard/DocumentRequest.php
r120759b rd795fa6 4 4 5 5 use App\Models\Document; 6 use App\Models\FileType; 6 7 use Illuminate\Foundation\Http\FormRequest; 7 8 … … 30 31 public function rules() 31 32 { 33 32 34 $rules = [ 33 35 "arch_id" => "required|min:10|max:255", … … 40 42 $fileRules = [ 41 43 "file_item.*" => "mimes:jpg,jpeg,png|max:4096" 42 ];44 ]; 43 45 } else { 44 46 $fileRules = [
Note:
See TracChangeset
for help on using the changeset viewer.