Added missing syntax to controller

This commit is contained in:
Rachel Breeze
2019-10-02 20:23:37 +01:00
committed by Sebastiaan Janssen
parent b4c6930c11
commit 09df60455c

View File

@@ -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() {