public function show(JobRequest $request, Job $job)
    {

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

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

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

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

@param Request $request
@param Model   $job

@return Response
Display job .