fix(models): Move custom method to loopback model extension
This commit is contained in:
committed by
mrugesh mohapatra
parent
19c7bb1ac9
commit
0452a9d1d5
@@ -176,10 +176,6 @@ module.exports = function(app) {
|
||||
);
|
||||
}
|
||||
|
||||
AccessToken.findOne$ = Observable.fromNodeCallback(
|
||||
AccessToken.findOne, AccessToken
|
||||
);
|
||||
|
||||
router.get('/login', function(req, res) {
|
||||
res.redirect(301, '/signin');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user