app/Http/Controllers/Admin/TerminalController.php
/**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \App\Terminal  $terminal
     * @return \Illuminate\Http\Response
     */
Update the specified resource in storage.
Update the specified resource in storage .
public function update(UpdateTerminalRequest $request, Terminal $terminal)
    {
        $terminal->update($request->validated());
        return redirect()->route('admin.terminals.index')
                        ->with('success','Terminal updated successfully');
    }
public function update ( UpdateTerminalRequest $ request , Terminal $ terminal ) { $ terminal -> update ( $ request -> validated ( ) ) ; return redirect ( ) -> route ( 'admin.terminals.index' ) -> with ( 'success' , 'Terminal updated successfully' ) ; }
Update the specified resource in storage.
Update the specified resource in storage .
//