app/Http/Controllers/Admin/front/MissionController.php
/**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \App\Slide  $slide
     * @return \Illuminate\Http\Response
     */
Update the specified resource in storage.
Update the specified resource in storage .
public function update(EditRequest $request, $id)
    {
        Mission::find($id)->update($request->all());
        session()->flash("msg", "تم تحديثه ");
        return redirect(route("missions.index"));
    }
public function update ( EditRequest $ request , $ id ) { Mission :: find ( $ id ) -> update ( $ request -> all ( ) ) ; session ( ) -> flash ( " msg " , " تم تحديثه "); return redirect ( route ( " missions.index " ) ) ; }
Update the specified resource in storage.
Update the specified resource in storage .