aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/app-routing.module.ts
diff options
context:
space:
mode:
authorNevena Bojovic <nenabojov@gmail.com>2022-05-19 19:48:47 +0200
committerNevena Bojovic <nenabojov@gmail.com>2022-05-19 19:48:47 +0200
commit8f22da6ebd539fa4a219ab4e6265e0d45e02d155 (patch)
tree3067fce5303c8a204e77c0d56c98c1aed881f3b9 /frontend/src/app/app-routing.module.ts
parent6aba6287a85492295ba5de0a0cc6501d492a3676 (diff)
parent1f21329593e94411cac7d5448c119ae746773922 (diff)
Merge branch 'redesign' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into redesign
Diffstat (limited to 'frontend/src/app/app-routing.module.ts')
-rw-r--r--frontend/src/app/app-routing.module.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts
index 9f8c623d..56442842 100644
--- a/frontend/src/app/app-routing.module.ts
+++ b/frontend/src/app/app-routing.module.ts
@@ -12,12 +12,14 @@ import { TestComponent } from './_pages/test/test.component';
const routes: Routes = [
{ path: '', component: HomeComponent, data: { title: 'Početna strana' } },
+ { path: 'experiment/:id/:predictorId', component: ExperimentComponent, data: { title: 'Eksperiment' } },
{ path: 'experiment/:id', component: ExperimentComponent, data: { title: 'Eksperiment' } },
{ path: 'experiment', component: ExperimentComponent, data: { title: 'Eksperiment' } },
{ path: 'archive', component: ArchiveComponent, data: { title: 'Arhiva' } },
{ path: 'profile', component: ProfileComponent, canActivate: [AuthGuardService], data: { title: 'Profil' } },
{ path: 'playground', component: PlaygroundComponent, data: { title: 'Zabava' } },
- { path: 'test', component: TestComponent, data: { title: 'Test' } }
+ { path: 'test', component: TestComponent, data: { title: 'Test' } },
+ { path: '**', redirectTo: '' }
];
@NgModule({