Commit 210c7f5c by Bagus Pambudi

slider edit

parent d7cf1a29
...@@ -104,7 +104,7 @@ class SliderController extends Controller ...@@ -104,7 +104,7 @@ class SliderController extends Controller
{ {
$request -> validate([ $request -> validate([
'title' => 'required', 'title' => 'required',
'slider' => 'required|mimes:jpg,jpeg,png|max : 3072' // 'slider' => 'required|mimes:jpg,jpeg,png|max : 3072'
], [ ], [
'title.required' => 'Nama slider wajib diisi', 'title.required' => 'Nama slider wajib diisi',
// 'title.max' => 'Nama slider terlalu panjang', // 'title.max' => 'Nama slider 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