/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { $user = User::find($id); //Remove avatar picture is exist if ($user->avatar) { $this->avatar_remove($user->avatar); } //Remove user record $user->delete(); Session::flash('flash_message', trans('admin/users.form.delete_confirm')); }