Fixed the other upload handleUploads signatures

This commit is contained in:
snipe
2020-08-24 18:32:40 -07:00
parent 66686f8080
commit e5dd6035b9
3 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -81,7 +81,7 @@ class LocationsController extends Controller
$location->manager_id = $request->input('manager_id');
$location->user_id = Auth::id();
$location = $request->handleImages($location,600, public_path().'/uploads/locations');
$location = $request->handleImages($location);
if ($location->save()) {
return redirect()->route("locations.index")->with('success', trans('admin/locations/message.create.success'));
@@ -146,7 +146,7 @@ class LocationsController extends Controller
$location->ldap_ou = $request->input('ldap_ou');
$location->manager_id = $request->input('manager_id');
$location = $request->handleImages($location,600, public_path().'/uploads/locations');
$location = $request->handleImages($location);
if ($location->save()) {