public function destroy($id) { if ($this->user->can('delete-users')) { $user = User::findOrFail($id); User::destroy($id); Session::flash('message', trans('auth::ui.user.message_delete', array('name' => $user->firstname))); return redirect('auth/user'); } return redirect('auth/logout'); }