code: function () {
    /**
     * Renders a view from a template given template data
     * @param  {Object}   req          Express request object
     * @param  {Object}   res          Express response object
     * @param  {string}   viewtemplate File path for the view template. By default render will check if file exists in configured default theme and periodicjs extension as well as the viewname as an absolute path
     * @param  {Object}   viewdata     Data that should be passed for template render
     */
    let fn = function renderView(req, res, viewtemplate, viewdata) {
      const viewTemplateData = (typeof viewtemplate === 'string')
        ? { viewname: viewtemplate }
        : viewtemplate;
      return this._utility_responder.render(viewdata, viewTemplateData)
        .then(result => {
          return this.protocol.respond(req, res, { responder_override: result });
        }, err => {
          return this.protocol.respond(req, res, { err });
        });
    };
    return fn;
    // let message = 'CoreController.renderView: Use CoreController.responder.render with an HTML adapter or CoreController._utility_responder.render instead';
    // return wrapWithDeprecationWarning.call(this, fn, message);
  }
docs: Creates a function that will render data from a view put can accept additional data for the template and always send a response. Alias for CoreController.protocol.respond
  @return {Function} A function that will render a view from a template given template data