app/Http/Controllers/Controller.php
/**
     * Update the specified resource in storage.
     *
     * @param  int $id
     * @return Response
     */
Update the specified resource in storage.
@param  int $id
@return Response
Update the specified resource in storage . @param int $id @return Response
public function update($id)
    {
        $this->repository->update($id, Request::all());
        return redirect($this->viewName);
    }
public function update ( $ id ) { $ this -> repository -> update ( $ id , Request :: all ( ) ) ; return redirect ( $ this -> viewName ) ; }
Update the specified resource in storage.
Update the specified resource in storage .