(change minimum poster width from 400px to 600px)

This commit is contained in:
Adam Wathan
2017-11-14 15:46:22 -05:00
parent 2f8d0ed425
commit d5e2950f92
2 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ class ConcertsController extends Controller
'zip' => ['required'],
'ticket_price' => ['required', 'numeric', 'min:5'],
'ticket_quantity' => ['required', 'numeric', 'min:1'],
'poster_image' => ['nullable', 'image', Rule::dimensions()->minWidth(400)->ratio(8.5/11)],
'poster_image' => ['nullable', 'image', Rule::dimensions()->minWidth(600)->ratio(8.5/11)],
]);
$concert = Auth::user()->concerts()->create([