title: _renderIndex if not a function
body: <p>I have the following code</p>
  <pre><code>module.exports = {
      _renderIndex: async (req, res) =&gt; {
         console.dir(&quot;test&quot;);
      },
      index: async (req, res) =&gt; {
            this._renderIndex(req, res, {});
       }
   };
  </code></pre>
  <p>Unfortunately, when I run the function index, I get the error this._renderIndex is not a function. Can someone please tell me why?</p>