diff options
Diffstat (limited to 'vid-webpack-master/src/app/services/flags.resolve.ts')
-rw-r--r-- | vid-webpack-master/src/app/services/flags.resolve.ts | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/vid-webpack-master/src/app/services/flags.resolve.ts b/vid-webpack-master/src/app/services/flags.resolve.ts deleted file mode 100644 index 70449379f..000000000 --- a/vid-webpack-master/src/app/services/flags.resolve.ts +++ /dev/null @@ -1,14 +0,0 @@ -import {ActivatedRouteSnapshot, Resolve} from "@angular/router"; -import {Injectable} from "@angular/core"; -import {ConfigurationService} from "./configuration.service"; -import {Observable} from "rxjs/Observable"; - -@Injectable() -export class FlagsResolve implements Resolve<Observable< { [key: string]: boolean }>> { - - constructor(private _configurationService: ConfigurationService) {} - - resolve(route: ActivatedRouteSnapshot) { - return this._configurationService.getFlags(); - } -} |