app/Http/Controllers/DiscordController.php
/**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \App\Models\Discord  $discord
     * @return \Illuminate\Http\Response
     */
Update the specified resource in storage.
Update the specified resource in storage .
public function update(Request $request, Discord $discord)
    {
        $inputs = $request->except('submit');
        $discord->update($inputs);
        return $this->redirect($discord);
    }
public function update ( Request $ request , Discord $ discord ) { $ inputs = $ request -> except ( 'submit' ) ; $ discord -> update ( $ inputs ) ; return $ this -> redirect ( $ discord ) ; }
Update the specified resource in storage.
Update the specified resource in storage .