diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-11-29 21:41:11 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-11-29 21:41:11 +0100 |
commit | 50b0c262fd446e9f57630aa5775e1b4708bdf4cb (patch) | |
tree | 8e7a899cb886b2f741546bd8fc2e7084c12deb1e /client/src/app/core/core.module.ts | |
parent | f81bb2853cedd7e65859756a5941d5c7e8b3ca2d (diff) | |
download | PeerTube-50b0c262fd446e9f57630aa5775e1b4708bdf4cb.tar.gz PeerTube-50b0c262fd446e9f57630aa5775e1b4708bdf4cb.tar.zst PeerTube-50b0c262fd446e9f57630aa5775e1b4708bdf4cb.zip |
Client: move menu component in core module
Diffstat (limited to 'client/src/app/core/core.module.ts')
-rw-r--r-- | client/src/app/core/core.module.ts | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/client/src/app/core/core.module.ts b/client/src/app/core/core.module.ts index be29b88da..27e6ee1fb 100644 --- a/client/src/app/core/core.module.ts +++ b/client/src/app/core/core.module.ts | |||
@@ -1,17 +1,20 @@ | |||
1 | import { NgModule, Optional, SkipSelf } from '@angular/core'; | 1 | import { NgModule, Optional, SkipSelf } from '@angular/core'; |
2 | import { CommonModule } from '@angular/common'; | 2 | import { CommonModule } from '@angular/common'; |
3 | import { HttpModule } from '@angular/http'; | 3 | import { HttpModule } from '@angular/http'; |
4 | import { RouterModule } from '@angular/router'; | ||
4 | 5 | ||
5 | import { AuthService } from './auth'; | 6 | import { AuthService } from './auth'; |
7 | import { MenuComponent } from './menu'; | ||
6 | import { throwIfAlreadyLoaded } from './module-import-guard'; | 8 | import { throwIfAlreadyLoaded } from './module-import-guard'; |
7 | 9 | ||
8 | @NgModule({ | 10 | @NgModule({ |
9 | imports: [ | 11 | imports: [ |
10 | CommonModule, | 12 | CommonModule, |
11 | HttpModule | 13 | HttpModule, |
14 | RouterModule | ||
12 | ], | 15 | ], |
13 | declarations: [ ], | 16 | declarations: [ MenuComponent ], |
14 | exports: [ ], | 17 | exports: [ MenuComponent ], |
15 | providers: [ AuthService ] | 18 | providers: [ AuthService ] |
16 | }) | 19 | }) |
17 | export class CoreModule { | 20 | export class CoreModule { |