import { HttpClientModule } from '@angular/common/http'
import { NgModule } from '@angular/core'
import { FormsModule, ReactiveFormsModule } from '@angular/forms'
-import { RouterModule } from '@angular/router'
+import { ActivatedRouteSnapshot, RouterModule } from '@angular/router'
import {
NgbButtonsModule,
NgbCollapseModule,
import { LoadingBarModule } from '@ngx-loading-bar/core'
import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client'
import { SharedGlobalIconModule } from '../shared-icons'
-import { AccountService, ActorService } from './account'
+import { AccountService } from './account'
import {
AutofocusDirective,
BytesPipe,
import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService } from './video'
import { VideoCaptionService } from './video-caption'
import { VideoChannelService } from './video-channel'
+import { ActorRedirectGuard } from './router'
@NgModule({
imports: [
AUTH_INTERCEPTOR_PROVIDER,
AccountService,
- ActorService,
UserHistoryService,
UserNotificationService,
VideoChannelService,
- CustomPageService
+ CustomPageService,
+
+ ActorRedirectGuard
]
})
export class SharedMainModule { }