/** * Destroy the given task. * * @param Request $request * @param Task $task * @return Response */ public function destroy(Request $request, Location $location) { //$this->authorize('destroy', $location); $location->delete(); return redirect('/locations'); }