diff options
Diffstat (limited to 'client/src/app/+about/about-routing.module.ts')
-rw-r--r-- | client/src/app/+about/about-routing.module.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/client/src/app/+about/about-routing.module.ts b/client/src/app/+about/about-routing.module.ts index 880bf4a39..c810ca272 100644 --- a/client/src/app/+about/about-routing.module.ts +++ b/client/src/app/+about/about-routing.module.ts | |||
@@ -3,6 +3,7 @@ import { RouterModule, Routes } from '@angular/router' | |||
3 | import { AboutFollowsComponent } from '@app/+about/about-follows/about-follows.component' | 3 | import { AboutFollowsComponent } from '@app/+about/about-follows/about-follows.component' |
4 | import { AboutInstanceComponent } from '@app/+about/about-instance/about-instance.component' | 4 | import { AboutInstanceComponent } from '@app/+about/about-instance/about-instance.component' |
5 | import { AboutInstanceResolver } from '@app/+about/about-instance/about-instance.resolver' | 5 | import { AboutInstanceResolver } from '@app/+about/about-instance/about-instance.resolver' |
6 | import { ContactAdminModalComponent } from '@app/+about/about-instance/contact-admin-modal.component' | ||
6 | import { AboutPeertubeComponent } from '@app/+about/about-peertube/about-peertube.component' | 7 | import { AboutPeertubeComponent } from '@app/+about/about-peertube/about-peertube.component' |
7 | import { AboutComponent } from './about.component' | 8 | import { AboutComponent } from './about.component' |
8 | 9 | ||
@@ -26,7 +27,13 @@ const aboutRoutes: Routes = [ | |||
26 | }, | 27 | }, |
27 | resolve: { | 28 | resolve: { |
28 | instanceData: AboutInstanceResolver | 29 | instanceData: AboutInstanceResolver |
29 | } | 30 | }, |
31 | children: [ | ||
32 | { | ||
33 | path: 'contact', | ||
34 | component: ContactAdminModalComponent | ||
35 | } | ||
36 | ] | ||
30 | }, | 37 | }, |
31 | { | 38 | { |
32 | path: 'peertube', | 39 | path: 'peertube', |