Skip to content

Commit

Permalink
fix: change the comment into English
Browse files Browse the repository at this point in the history
change the comment into English for English version
  • Loading branch information
Maledong authored Mar 4, 2019
1 parent acf5630 commit 1d7e1d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/en/advanced/loader.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,8 @@ When you define a loader with `loadToApp`

```js
// app.js
// 以下只是示例,加载 controller 请用 loadController
// This is only the example below, please use 'loadController' instead
// when loading controller
module.exports = app => {
const directory = path.join(app.config.baseDir, 'app/controller');
app.loader.loadToApp(directory, 'controller');
Expand Down

0 comments on commit 1d7e1d3

Please sign in to comment.