app/Http/Controllers/MuridController.php
/**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \App\Models\Murid  $murid
     * @return \Illuminate\Http\Response
     */
Update the specified resource in storage.
Update the specified resource in storage .
public function update(Request $request, Murid $murid)
    {
        $murid->update($request->all());
        return redirect()->route('murid.index');
    }
public function update ( Request $ request , Murid $ murid ) { $ murid -> update ( $ request -> all ( ) ) ; return redirect ( ) -> route ( 'murid.index' ) ; }
Update the specified resource in storage.
Update the specified resource in storage .