Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil.mysliwiec committed Apr 11, 2017
1 parent ad10000 commit d516d90
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions example/modules/users/users.module.ts
Expand Up @@ -17,15 +17,8 @@ export class UsersModule {

configure(builder: MiddlewareBuilder) {
builder.apply(AuthMiddleware)
.with('admin', 'creator', 'editor')
.with('admin')
.forRoutes(UsersController);

/* builder.use({
middlewares: [
AuthMiddleware
],
forRoutes: [ UsersController ]
});*/
}
}

Expand Down

0 comments on commit d516d90

Please sign in to comment.