Added missing syntax to controller
This commit is contained in:
committed by
Sebastiaan Janssen
parent
b4c6930c11
commit
09df60455c
@@ -16,11 +16,12 @@ function RelationTypeCreateController($scope, $location, relationTypeResource, n
|
||||
init();
|
||||
|
||||
function init() {
|
||||
relationTypeResource.getRelationObjectTypes().then(function (data) {
|
||||
vm.objectTypes = data;
|
||||
}, function (err) {
|
||||
notificationsService.error("Could not load form.")
|
||||
})
|
||||
relationTypeResource.getRelationObjectTypes().then(function(data) {
|
||||
vm.objectTypes = data;
|
||||
},
|
||||
function(err) {
|
||||
notificationsService.error("Could not load form.");
|
||||
});
|
||||
}
|
||||
|
||||
function createRelationType() {
|
||||
|
||||
Reference in New Issue
Block a user