Use updated request signature for models

This commit is contained in:
snipe 2020-08-26 11:59:30 -07:00
parent d25a05d748
commit fa2dfc3e87
No known key found for this signature in database
GPG key ID: 10BFFDA3ED34B5AC

View file

@ -85,7 +85,7 @@ class AssetModelsController extends Controller
$model->fieldset_id = e($request->input('custom_fieldset')); $model->fieldset_id = e($request->input('custom_fieldset'));
} }
$model = $request->handleImages($model,600,'image', public_path().'/uploads/models', 'image'); $model = $request->handleImages($model);
// Was it created? // Was it created?
if ($model->save()) { if ($model->save()) {