app/Http/Controllers/JobOfferController.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()
    {
        $joboffers = JobOffer::all();
        return view('joboffers.index')->with('joboffers',$joboffers);
    }
public function index ( ) { $ joboffers = JobOffer :: all ( ) ; return view ( 'joboffers.index' ) -> with ( 'joboffers' , $ joboffers ) ; }
Display a listing of the resource.
Display a listing of the resource .
//$joboffers = JobOffer::orderBy('created_at','desc')->paginate(5);