Commits
Thiago Rodrigues authored and GitHub committed e5cff2c76c5 Merge
17 17 | const EDIT_BITSTREAM_PATH = ':id/edit'; |
18 18 | const EDIT_BITSTREAM_AUTHORIZATIONS_PATH = ':id/authorizations'; |
19 19 | |
20 20 | /** |
21 21 | * Routing module to help navigate Bitstream pages |
22 22 | */ |
23 23 | export const ROUTES: Route[] = [ |
24 24 | { |
25 25 | // Resolve XMLUI bitstream download URLs |
26 26 | path: 'handle/:prefix/:suffix/:filename', |
27 + | component: BitstreamDownloadPageComponent, |
27 28 | canActivate: [legacyBitstreamURLRedirectGuard], |
28 29 | }, |
29 30 | { |
30 31 | // Resolve JSPUI bitstream download URLs |
31 32 | path: ':prefix/:suffix/:sequence_id/:filename', |
33 + | component: BitstreamDownloadPageComponent, |
32 34 | canActivate: [legacyBitstreamURLRedirectGuard], |
33 35 | }, |
34 36 | { |
35 37 | // Resolve angular bitstream download URLs |
36 38 | path: ':id/download', |
37 39 | component: BitstreamDownloadPageComponent, |
38 40 | resolve: { |
39 41 | bitstream: bitstreamPageResolver, |
40 42 | }, |
41 43 | }, |