Skip to content

Commit e2c3386

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents 280e778 + a866d6b commit e2c3386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/LocationsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public function destroy($locationId)
168168
{
169169
$this->authorize('delete', Location::class);
170170
if (is_null($location = Location::find($locationId))) {
171-
return redirect()->to(route('locations.index'))->with('error', trans('admin/locations/message.not_found'));
171+
return redirect()->to(route('locations.index'))->with('error', trans('admin/locations/message.does_not_exist'));
172172
}
173173

174174
if ($location->users()->count() > 0) {

0 commit comments

Comments
 (0)