From eca6b04c1c50bc69c53f9910cc35bb7441c7cb02 Mon Sep 17 00:00:00 2001 From: EasonQwQ <750225883@qq.com> Date: Sun, 28 Jun 2020 14:14:52 +0800 Subject: [PATCH] docs:update docs about how to extends ctx.helper (#4362) --- lib/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/application.js b/lib/application.js index 247c1bc9ea..d1454132dc 100644 --- a/lib/application.js +++ b/lib/application.js @@ -283,7 +283,7 @@ class Application extends EggApplication { if (!this[HELPER]) { /** * The Helper class which can be used as utility function. - * Files from `${baseDir}/app/helper` will be loaded to the prototype of Helper, + * We support developers to extend Helper through ${baseDir}/app/extend/helper.js , * then you can use all method on `ctx.helper` that is a instance of Helper. */ class Helper extends this.BaseContextClass {}