mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
18 lines
642 B
TypeScript
18 lines
642 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
import { SearchPageComponent } from './search-page.component';
|
|
import { ConfigurationSearchPageGuard } from './configuration-search-page.guard';
|
|
import { ConfigurationSearchPageComponent } from './configuration-search-page.component';
|
|
|
|
@NgModule({
|
|
imports: [
|
|
RouterModule.forChild([
|
|
{ path: '', component: SearchPageComponent, data: { title: 'search.title' } },
|
|
{ path: ':configuration', component: ConfigurationSearchPageComponent, canActivate: [ConfigurationSearchPageGuard]}
|
|
])
|
|
]
|
|
})
|
|
export class SearchPageRoutingModule {
|
|
}
|