Commit 5d45f4a2 by Bagus Pambudi

fix gallery wajib upload, edit gallery

parent 4d0ba028
...@@ -103,7 +103,7 @@ class GalleryController extends Controller ...@@ -103,7 +103,7 @@ class GalleryController extends Controller
{ {
$request -> validate([ $request -> validate([
'title' => 'required', 'title' => 'required',
'gallery' => 'required|mimes:jpg,jpeg,png|max : 3072' 'gallery' => 'mimes:jpg,jpeg,png|max : 3072'
], [ ], [
'title.required' => 'Nama gallery wajib diisi', 'title.required' => 'Nama gallery wajib diisi',
// 'title.max' => 'Nama gallery terlalu panjang', // 'title.max' => 'Nama gallery terlalu panjang',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment