app/Http/Controllers/ResumeController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $u= \session('auth');
        $majorid = $u->company->major->id;
        $users = Group::find(4)->users()->where('major_id',$majorid)->get();
        return view('pages.resume.browse-resumes',['users'=>$users,'u'=>$u]);
    }
public function index ( ) { $ u = \ session ( 'auth' ) ; $ majorid = $ u -> company -> major -> id ; $ users = Group :: find ( 4 ) -> users ( ) -> where ( 'major_id' , $ majorid ) -> get ( ) ; return view ( 'pages.resume.browse-resumes' , [ 'users' => $ users , 'u' => $ u ] ) ; }
Display a listing of the resource.
Display a listing of the resource .