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