src/Http/Controllers/ResponseResourceController.php
public function show(ResponseRequest $request, Response $response)
    {

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

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

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

        return $this->response->title(trans('app.view') . ' ' . trans('forum::response.name'))
            ->data(compact('response'))
            ->view($view, true)
            ->output();
    }
Display response.

@param Request $request
@param Model   $response

@return Response