FEATURE #1431: add template edit

This commit is contained in:
Michal Kváček
2016-02-19 15:10:39 +01:00
parent 53395bc47a
commit 57e08b76a8
12 changed files with 413 additions and 14 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace App\Http\Requests;
class EditTemplateRequest extends Request
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'name' => 'required|max:128',
'templateContent' => 'required'
];
}
}