Skip to content

Commit

Permalink
update: unload provider
Browse files Browse the repository at this point in the history
  • Loading branch information
czewail committed Sep 18, 2019
1 parent a5dc2de commit f32c33f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/app/controller/hello.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

const {
Route, Http, Controller,
Controller, Http,
} = require('@dazejs/framework');

@Route()
class Hello extends Controller {
@Controller()
class Hello {
@Http.Get()
index() {
return this.render('hello', {
return this.ren11der('hello', {
name: 'Daze.js',
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/config/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ module.exports = {
},

providers: [
require.resolve('../provider/bootstrap'),
// require.resolve('../provider/bootstrap'),
],
};

0 comments on commit f32c33f

Please sign in to comment.