Allow pdf upload laravel

0

I need to allow pdf upload, how do I? see validation

public $rules = array(
    'file' => 'required|mimes:png,jpg,jpeg,gif,pdf|unique:images,local,NULL,id,type,upload'
);

I added pdf but it did not work, did not upload?

    
asked by anonymous 01.01.2018 / 12:45

0 answers