Skip to content

Commit 0b522df

Browse files
committed
app: adjusted location delete to redirect to my locations
This fixes a mistake introduced by pull request #661.
1 parent 4f6b660 commit 0b522df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/app/Http/Controllers/LocationManagementController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ public function deleteMyLocation(string $location_id)
395395
DB::table('location_location_tag')->where('location_id', '=', $location->id)->delete();
396396
DB::table('location')->where('id', '=', $location->id)->delete();
397397
});
398-
return Redirect('/location/management/add');
398+
return Redirect('/location/management/my-locations');
399399
}
400400

401401
public function show(string $location_id)

0 commit comments

Comments
 (0)