Ignore:
Timestamp:
10/17/21 18:39:50 (3 years ago)
Author:
Berat Kjufliju <kufliju@…>
Branches:
develop, master
Children:
bd9e8e3
Parents:
120759b
Message:

added validation to blades

File:
1 edited

Legend:

Unmodified
Added
Removed
  • app/Http/Requests/Dashboard/DocumentRequest.php

    r120759b rd795fa6  
    44
    55use App\Models\Document;
     6use App\Models\FileType;
    67use Illuminate\Foundation\Http\FormRequest;
    78
     
    3031    public function rules()
    3132    {
     33
    3234        $rules = [
    3335            "arch_id" => "required|min:10|max:255",
     
    4042            $fileRules = [
    4143                "file_item.*" => "mimes:jpg,jpeg,png|max:4096"
    42             ];
     44                ];
    4345        } else {
    4446            $fileRules = [
Note: See TracChangeset for help on using the changeset viewer.