FEATURE: make template not mandatory in content editor

This commit is contained in:
Michal Kváček
2016-09-27 21:34:39 +02:00
parent bb3d000e5e
commit 8533c8cdc6
3 changed files with 20 additions and 20 deletions
-1
View File
@@ -20,7 +20,6 @@ class EditContentRequest extends Request
return [
'title' => 'required',
'url' => 'required|unique:contents,url,' . $this->id,
'template' => 'required|exists:templates,template_name',
'published_from' => 'date',
'published_to' => 'date',
'title_photo' => 'exists:files,id',