rsanchez
2017-03-20 1a0491f2462d2c309bd8e310b22c11019a79ce1e
securis/src/main/webapp/src/app/resources/users.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 user_example = {
78 creation_timestamp: 1479898458000,
....@@ -17,8 +18,8 @@
1718
1819 @Injectable()
1920 export class UsersService extends SeCurisResourceServices {
20
- constructor(http: Http) {
21
- super(http, 'user');
21
+ constructor(http: Http, $L: LocaleService) {
22
+ super($L, http, 'user');
2223 }
2324
2425