This commit is contained in:
Davide Alberani 2015-03-22 11:12:29 +01:00
parent d9d12d3f78
commit 9ebf47ec91

View file

@ -55,7 +55,6 @@ eventManControllers.controller('PersonDetailsCtrl', ['$scope', 'Person', '$route
$scope.person = Person.get($routeParams);
}
// store a new Person or update an existing one
$scope.save = function() {
$scope.save = function() {
if ($scope.person.id === undefined) {
$scope.person = Person.save($scope.person);