FEATURE #1523: add subpages for content

This commit is contained in:
Michal Kváček
2016-03-31 21:12:54 +02:00
parent acc7541ab9
commit e789b02a93
10 changed files with 192 additions and 24 deletions
@@ -19,7 +19,8 @@ class CreateNewContentRequest extends Request
'published_to' => 'date',
'title_photo' => 'exists:files,id',
'module_settings' => 'json',
'status' => 'required|in:draft,protected,public'
'status' => 'required|in:draft,protected,public',
'parentPage' => 'exists:contents,id'
];
}
}