public function edit(TeamRequest $request, Team $team)
    {
        return $this->response->title(trans('app.edit') . ' ' . trans('team::team.name'))
            ->view('team::team.edit', true)
            ->data(compact('team'))
            ->output();
    }
public function edit(TeamRequest $request, Team $team)
    {
        return $this->response->title(trans('app.edit') . ' ' . trans('team::team.name'))
            ->view('team::team.edit', true)
            ->data(compact('team'))
            ->output();
    }
public function edit ( TeamRequest $ request , Team $ team ) { return $ this -> response -> title ( trans ( 'app.edit' ) . ' ' . trans ( 'team::team.name' ) ) -> view ( 'team::team.edit' , true ) -> data ( compact ( 'team' ) ) -> output ( ) ; }
Show team for editing.

@param Request $request
@param Model   $team

@return Response
Show team for editing .