You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ombi/src/Ombi/ClientApp/src/app/home/home.module.ts

35 lines
873 B

import { NgModule } from "@angular/core";
import { RouterModule, Routes } from "@angular/router";
import { SearchService } from "../services";
import { AuthGuard } from "../auth/auth.guard";
import { SharedModule } from "../shared/shared.module";
import { HomeComponent } from "./home.component";
import { PopularMoviesComponent } from "./movies/popular-movies.component";
import { PopularTvComponent } from "./tv/popular-tv.component";
const routes: Routes = [
{ path: "", component: HomeComponent, canActivate: [AuthGuard] },
];
@NgModule({
imports: [
RouterModule.forChild(routes),
SharedModule,
],
declarations: [
HomeComponent,
PopularMoviesComponent,
PopularTvComponent,
],
exports: [
RouterModule,
],
providers: [
SearchService
],
})
export class HomeModule { }