admin: fix form to append teams

This commit is contained in:
nemunaire 2017-11-04 00:30:05 +01:00 committed by Pierre-Olivier Mercier
commit 4d13ee2486
3 changed files with 4 additions and 24 deletions

View file

@ -29,10 +29,6 @@ angular.module("FICApp", ["ngRoute", "ngResource", "ngSanitize"])
controller: "TeamsListController",
templateUrl: "views/team-list.html"
})
.when("/teams/new", {
controller: "TeamNewController",
templateUrl: "views/team-new.html"
})
.when("/teams/print", {
controller: "TeamsListController",
templateUrl: "views/team-print.html"
@ -639,11 +635,6 @@ angular.module("FICApp")
});
})
.controller("TeamNewController", function($scope, Team, $location) {
$scope.contact = new Team({
})
})
.controller("PresenceController", function($scope, TeamPresence, $routeParams) {
$scope.presence = TeamPresence.query({ teamId: $routeParams.teamId });