app-routing.module.ts (dspace-angular-dspace-7.0) | : | app-routing.module.ts (dspace-angular-dspace-7.1) | ||
---|---|---|---|---|
skipping to change at line 17 | skipping to change at line 17 | |||
import { | import { | |||
ACCESS_CONTROL_MODULE_PATH, | ACCESS_CONTROL_MODULE_PATH, | |||
ADMIN_MODULE_PATH, | ADMIN_MODULE_PATH, | |||
BITSTREAM_MODULE_PATH, | BITSTREAM_MODULE_PATH, | |||
FORBIDDEN_PATH, | FORBIDDEN_PATH, | |||
FORGOT_PASSWORD_PATH, | FORGOT_PASSWORD_PATH, | |||
INFO_MODULE_PATH, | INFO_MODULE_PATH, | |||
PROFILE_MODULE_PATH, | PROFILE_MODULE_PATH, | |||
REGISTER_PATH, | REGISTER_PATH, | |||
WORKFLOW_ITEM_MODULE_PATH, | WORKFLOW_ITEM_MODULE_PATH, | |||
LEGACY_BITSTREAM_MODULE_PATH, | LEGACY_BITSTREAM_MODULE_PATH, REQUEST_COPY_MODULE_PATH, | |||
} from './app-routing-paths'; | } from './app-routing-paths'; | |||
import { COLLECTION_MODULE_PATH } from './collection-page/collection-page-routin g-paths'; | import { COLLECTION_MODULE_PATH } from './collection-page/collection-page-routin g-paths'; | |||
import { COMMUNITY_MODULE_PATH } from './community-page/community-page-routing-p aths'; | import { COMMUNITY_MODULE_PATH } from './community-page/community-page-routing-p aths'; | |||
import { ITEM_MODULE_PATH } from './item-page/item-page-routing-paths'; | import { ITEM_MODULE_PATH } from './item-page/item-page-routing-paths'; | |||
import { PROCESS_MODULE_PATH } from './process-page/process-page-routing.paths'; | import { PROCESS_MODULE_PATH } from './process-page/process-page-routing.paths'; | |||
import { ReloadGuard } from './core/reload/reload.guard'; | import { ReloadGuard } from './core/reload/reload.guard'; | |||
import { EndUserAgreementCurrentUserGuard } from './core/end-user-agreement/end- user-agreement-current-user.guard'; | import { EndUserAgreementCurrentUserGuard } from './core/end-user-agreement/end- user-agreement-current-user.guard'; | |||
import { SiteRegisterGuard } from './core/data/feature-authorization/feature-aut horization-guard/site-register.guard'; | import { SiteRegisterGuard } from './core/data/feature-authorization/feature-aut horization-guard/site-register.guard'; | |||
import { ThemedPageNotFoundComponent } from './pagenotfound/themed-pagenotfound. component'; | import { ThemedPageNotFoundComponent } from './pagenotfound/themed-pagenotfound. component'; | |||
import { ThemedForbiddenComponent } from './forbidden/themed-forbidden.component '; | import { ThemedForbiddenComponent } from './forbidden/themed-forbidden.component '; | |||
skipping to change at line 184 | skipping to change at line 184 | |||
path: PROCESS_MODULE_PATH, | path: PROCESS_MODULE_PATH, | |||
loadChildren: () => import('./process-page/process-page.module') | loadChildren: () => import('./process-page/process-page.module') | |||
.then((m) => m.ProcessPageModule), | .then((m) => m.ProcessPageModule), | |||
canActivate: [AuthenticatedGuard, EndUserAgreementCurrentUserGuard] | canActivate: [AuthenticatedGuard, EndUserAgreementCurrentUserGuard] | |||
}, | }, | |||
{ | { | |||
path: INFO_MODULE_PATH, | path: INFO_MODULE_PATH, | |||
loadChildren: () => import('./info/info.module').then((m) => m.InfoM odule), | loadChildren: () => import('./info/info.module').then((m) => m.InfoM odule), | |||
}, | }, | |||
{ | { | |||
path: REQUEST_COPY_MODULE_PATH, | ||||
loadChildren: () => import('./request-copy/request-copy.module').the | ||||
n((m) => m.RequestCopyModule), | ||||
canActivate: [AuthenticatedGuard, EndUserAgreementCurrentUserGuard] | ||||
}, | ||||
{ | ||||
path: FORBIDDEN_PATH, | path: FORBIDDEN_PATH, | |||
component: ThemedForbiddenComponent | component: ThemedForbiddenComponent | |||
}, | }, | |||
{ | { | |||
path: 'statistics', | path: 'statistics', | |||
loadChildren: () => import('./statistics-page/statistics-page-routin g.module') | loadChildren: () => import('./statistics-page/statistics-page-routin g.module') | |||
.then((m) => m.StatisticsPageRoutingModule), | .then((m) => m.StatisticsPageRoutingModule), | |||
}, | }, | |||
{ | { | |||
path: ACCESS_CONTROL_MODULE_PATH, | path: ACCESS_CONTROL_MODULE_PATH, | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 7 lines changed or added |