Merge branch 'master' into bug/image-upload

This commit is contained in:
Abijeet Patro
2018-03-18 23:44:33 +05:30
committed by GitHub
39 changed files with 8518 additions and 2530 deletions

View File

@ -120,7 +120,7 @@ class ImageController extends Controller
{
$this->checkPermission('image-create-all');
$this->validate($request, [
'file' => 'image'
'file' => 'required|image'
]);
if (!$this->imageRepo->isValidType($type)) {