rsanchez
2017-03-20 1a0491f2462d2c309bd8e310b22c11019a79ce1e
securis/src/main/webapp/src/app/resources/organizations.ts
....@@ -2,6 +2,7 @@
22 import { Injectable } from '@angular/core';
33 import { Http, RequestOptions } from '@angular/http';
44 import { SeCurisResourceServices } from './base';
5
+import { LocaleService } from '../common/i18n';
56
67 var org_example = { code: 'NPS',
78 creation_timestamp: 1488269722000,
....@@ -11,8 +12,8 @@
1112
1213 @Injectable()
1314 export class OrganizationsService extends SeCurisResourceServices {
14
- constructor(http: Http) {
15
- super(http, 'organization');
15
+ constructor(http: Http, $L: LocaleService) {
16
+ super($L, http, 'organization');
1617 }
1718
1819