public function show(ResumeRequest $request, Resume $resume)
    {

        if ($resume->exists) {
            $view = 'career::resume.show';
        } else {
            $view = 'career::resume.new';
        }

        return $this->response->title(trans('app.view') . ' ' . trans('career::resume.name'))
            ->data(compact('resume'))
            ->view($view, true)
            ->output();
    }
public function show(ResumeRequest $request, Resume $resume)
    {

        if ($resume->exists) {
            $view = 'career::resume.show';
        } else {
            $view = 'career::resume.new';
        }

        return $this->response->title(trans('app.view') . ' ' . trans('career::resume.name'))
            ->data(compact('resume'))
            ->view($view, true)
            ->output();
    }
public function show ( ResumeRequest $ request , Resume $ resume ) { if ( $ resume -> exists ) { $ view = 'career::resume.show' ; } else { $ view = 'career::resume.new' ; } return $ this -> response -> title ( trans ( 'app.view' ) . ' ' . trans ( 'career::resume.name' ) ) -> data ( compact ( 'resume' ) ) -> view ( $ view , true ) -> output ( ) ; }
Display resume.

@param Request $request
@param Model   $resume

@return Response
Display resume .