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

@param Request $request
@param Model   $portfolio

@return Response
Show portfolio for editing .