aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/core.module.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-11-29 21:41:11 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-11-29 21:41:11 +0100
commit50b0c262fd446e9f57630aa5775e1b4708bdf4cb (patch)
tree8e7a899cb886b2f741546bd8fc2e7084c12deb1e /client/src/app/core/core.module.ts
parentf81bb2853cedd7e65859756a5941d5c7e8b3ca2d (diff)
downloadPeerTube-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.ts9
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 @@
1import { NgModule, Optional, SkipSelf } from '@angular/core'; 1import { NgModule, Optional, SkipSelf } from '@angular/core';
2import { CommonModule } from '@angular/common'; 2import { CommonModule } from '@angular/common';
3import { HttpModule } from '@angular/http'; 3import { HttpModule } from '@angular/http';
4import { RouterModule } from '@angular/router';
4 5
5import { AuthService } from './auth'; 6import { AuthService } from './auth';
7import { MenuComponent } from './menu';
6import { throwIfAlreadyLoaded } from './module-import-guard'; 8import { 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})
17export class CoreModule { 20export class CoreModule {