diff --git a/app/Http/Controllers/LocationsController.php b/app/Http/Controllers/LocationsController.php index 08dc38b3ac..7a4b47b385 100755 --- a/app/Http/Controllers/LocationsController.php +++ b/app/Http/Controllers/LocationsController.php @@ -168,7 +168,7 @@ class LocationsController extends Controller { $this->authorize('delete', Location::class); if (is_null($location = Location::find($locationId))) { - return redirect()->to(route('locations.index'))->with('error', trans('admin/locations/message.not_found')); + return redirect()->to(route('locations.index'))->with('error', trans('admin/locations/message.does_not_exist')); } if ($location->users()->count() > 0) {