public function myjobs() { $userid = Auth::user()->id; $userjobs = Userjobs::where('user_id', $userid)->pluck('job_id'); $jobs = Job::simpleWhereIn_1($userjobs); return view('jobs.myjobs')->withJobs($jobs); }