Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs:update docs about how to extends ctx.helper (#4362)
  • Loading branch information
EasonQwQ committed Jun 28, 2020
1 parent b5cc8b6 commit eca6b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/application.js
Expand Up @@ -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 {}
Expand Down

0 comments on commit eca6b04

Please sign in to comment.