Skip to content

Commit 821839a

Browse files
committed
Removed unused method declaration.
1 parent 8074169 commit 821839a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

resources/js/controllers/UserController.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,5 @@ angular.module('UserController', []).controller('UserController', ['$scope', '$r
3636
var userId = splitPath[splitPath.length - 1];
3737
$scope.user = User.get({userId: userId});
3838
};
39-
40-
$scope.getByToken = function () {
41-
return new User().$getByToken(function (res) {
42-
console.log(res);
43-
}, function (err) {
44-
console.log(err);
45-
});
46-
};
4739
}
4840
]);

0 commit comments

Comments
 (0)