Refactor halResourceTypes config

Rename the function from halResourceTypesStorage
to halResourceTypesConfig
pull/4734/head
Alex Dik 8 years ago
parent af26b1cbb1
commit 07f6eafc53
  1. 4
      frontend/app/components/api/api-v3/hal-resource-types/hal-resource-types.config.ts

@ -29,7 +29,7 @@
import {opApiModule} from '../../../../angular-modules';
import {HalResourceTypesService} from './hal-resource-types.service';
function halResourceTypesStorage(halResourceTypes:HalResourceTypesService) {
function halResourceTypesConfig(halResourceTypes:HalResourceTypesService) {
halResourceTypes.setResourceTypeConfig({
WorkPackage: {
className: 'WorkPackageResource',
@ -53,4 +53,4 @@ function halResourceTypesStorage(halResourceTypes:HalResourceTypesService) {
});
}
opApiModule.run(halResourceTypesStorage);
opApiModule.run(halResourceTypesConfig);

Loading…
Cancel
Save