Commit 2fad234d by Bagus Pambudi

tambah mimes di update post

parent fa1840ba
......@@ -366,7 +366,8 @@ class PostController extends Controller
'categories' => 'required',
'content' => 'required|min:3',
'post_date' => 'required',
'keys' => 'max:100'
'keys' => 'max:100',
'thumbnail' => 'required|mimes:jpg,jpeg,png|max : 3072'
], [
'title.required' => 'Judul wajib diisi',
// 'title.regex' => 'Judul tidak valid! Judul hanya berupa angka dan huruf',
......
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