mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Use updated request signature for models
This commit is contained in:
parent
d25a05d748
commit
fa2dfc3e87
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in a new issue