/** * Display a listing of the resource. * * @return Response */ public function index() { $logs = PhoneLog::where('client_id', '=', (int) \Input::get("id"))->orderBy('created_at', 'desc')->paginate(50); return view('callback.logs.index')->with(compact('logs')); }