diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-03-28 15:00:19 +0300 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-03-28 15:00:19 +0300 |
| commit | 72a890d1b58fb27529d9dcd6ccd0951725fedebb (patch) | |
| tree | cbae174556e4dfcd01d896a68af09e44f165c158 /src/app/app-routing.module.ts | |
| parent | 623f6dcc433149a41e93ce978ce5060ea46d7589 (diff) | |
| download | DevHive-Angular-72a890d1b58fb27529d9dcd6ccd0951725fedebb.tar DevHive-Angular-72a890d1b58fb27529d9dcd6ccd0951725fedebb.tar.gz DevHive-Angular-72a890d1b58fb27529d9dcd6ccd0951725fedebb.zip | |
Reimplemented comment page component
Diffstat (limited to 'src/app/app-routing.module.ts')
| -rw-r--r-- | src/app/app-routing.module.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 4367db7..b319abd 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -7,7 +7,8 @@ import { ProfileComponent } from './components/profile/profile.component'; import { ProfileSettingsComponent } from './components/profile-settings/profile-settings.component'; import { NotFoundComponent } from './components/not-found/not-found.component'; import { PostPageComponent } from './components/post-page/post-page.component'; -import {AdminPanelPageComponent} from './components/admin-panel-page/admin-panel-page.component'; +import { AdminPanelPageComponent } from './components/admin-panel-page/admin-panel-page.component'; +import { CommentPageComponent } from './components/comment-page/comment-page.component'; const routes: Routes = [ { path: '', component: FeedComponent }, @@ -16,6 +17,7 @@ const routes: Routes = [ { path: 'profile/:username', component: ProfileComponent }, { path: 'profile/:username/settings', component: ProfileSettingsComponent }, { path: 'post/:id', component: PostPageComponent }, + { path: 'comment/:id', component: CommentPageComponent }, { path: 'admin-panel', component: AdminPanelPageComponent }, { path: 'not-found', component: NotFoundComponent }, { path: '**', component: NotFoundComponent } |
