From 07f6eafc53803cadaef393520e111935ce2bbd7f Mon Sep 17 00:00:00 2001 From: Alex Dik Date: Wed, 20 Jul 2016 17:00:53 +0200 Subject: [PATCH] Refactor halResourceTypes config Rename the function from halResourceTypesStorage to halResourceTypesConfig --- .../api-v3/hal-resource-types/hal-resource-types.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/app/components/api/api-v3/hal-resource-types/hal-resource-types.config.ts b/frontend/app/components/api/api-v3/hal-resource-types/hal-resource-types.config.ts index 08eb7b2190..a74d7f7b58 100644 --- a/frontend/app/components/api/api-v3/hal-resource-types/hal-resource-types.config.ts +++ b/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);