app/Http/Controllers/JobOfferController.php
/**
     * Update the specified resource in storage.
     *
     * @param  \App\Http\Requests\UpdateJob  $request
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
Update the specified resource in storage.
Update the specified resource in storage .
public function update(UpdateJob $request, $id)
    {
        $job = JobOffer::find($id);
        $job->fill($request->all());
        $job->save();
        return redirect()->route('joboffers.index');
    }
public function update ( UpdateJob $ request , $ id ) { $ job = JobOffer :: find ( $ id ) ; $ job -> fill ( $ request -> all ( ) ) ; $ job -> save ( ) ; return redirect ( ) -> route ( 'joboffers.index' ) ; }
Update the specified resource in storage.
Update the specified resource in storage .