app/Http/Controllers/Admin/skillController.php
/**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
Update the specified resource in storage.
Update the specified resource in storage .
public function update(SkillValidator $request, $id)
    {
        $data = $request->all();
        $skill = Skill::findorfail($id);
        $skill->update($data);
        return redirect()->route('skill.index')->with('success', 'Employee Skill Updated Successfully');
    }
public function update ( SkillValidator $ request , $ id ) { $ data = $ request -> all ( ) ; $ skill = Skill :: findorfail ( $ id ) ; $ skill -> update ( $ data ) ; return redirect ( ) -> route ( 'skill.index' ) -> with ( 'success' , 'Employee Skill Updated Successfully' ) ; }
Update the specified resource in storage.
Update the specified resource in storage .