1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-15 20:46:57 +00:00

Made login form look better and made user

menu look better.
This commit is contained in:
2016-04-28 01:58:48 +00:00
parent 07ac335c7c
commit 84d48bbee3
8 changed files with 59 additions and 12 deletions

View File

@@ -4,7 +4,12 @@ app.factory('tournamentsService', tournamentsService);
function tournamentsService($http){
var service = {};
service.getMyTournaments = function(user){
return $http({
url: '/api/tournaments/user/',
method: "GET"
}).then(successResponse, errorCallback);
};
service.getAllTournaments = function(){
return $http({