admin: fix form to append teams
This commit is contained in:
parent
99a7c4e13c
commit
4d13ee2486
3 changed files with 4 additions and 24 deletions
|
|
@ -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 });
|
||||
|
|
|
|||
Reference in a new issue