FEATURE: add functionality for editing custom fields

This commit is contained in:
Michal Kváček
2016-01-27 00:55:41 +01:00
parent 4b5a78b320
commit ff61858cf5
7 changed files with 249 additions and 2 deletions
@@ -0,0 +1,20 @@
<?php
namespace App\Http\Requests;
class EditCustomFieldRequest extends Request
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'name' => 'required',
'minLength' => 'numeric|min:0',
'maxLength' => 'numeric|min:0',
];
}
}