FEATURE #1377: add stubs for uploading files

This commit is contained in:
Michal Kváček
2016-02-05 22:34:41 +01:00
parent fc33c06613
commit 58a3386277
4 changed files with 69 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
namespace App\Http\Requests;
class UploadFileRequest extends Request
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'file' => 'required'
];
}
}