aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/app-routing.module.ts
diff options
context:
space:
mode:
authorDanijel Andjelkovic <adanijel99@gmail.com>2022-03-10 01:07:14 +0100
committerDanijel Andjelkovic <adanijel99@gmail.com>2022-03-10 01:07:14 +0100
commit8ed7debac7ba96babcbdee538f4db009afd6e340 (patch)
tree62c0be06050a02efcc3c686c2da165083b713ff5 /frontend/src/app/app-routing.module.ts
parente5853148a7277f7c76153701671a7df022634150 (diff)
parentedb151a0e7de2c48de3ba38a0ddaff198936bd29 (diff)
Merge branch 'frontendAddModel' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into dev
# Conflicts: # frontend/src/app/app-routing.module.ts # frontend/src/app/app.module.ts
Diffstat (limited to 'frontend/src/app/app-routing.module.ts')
-rw-r--r--frontend/src/app/app-routing.module.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts
index af8bc237..c592d57b 100644
--- a/frontend/src/app/app-routing.module.ts
+++ b/frontend/src/app/app-routing.module.ts
@@ -1,17 +1,18 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
+import { AuthGuardService } from './_services/auth-guard.service';
import { LoginPageComponent } from './_pages/login-page/login-page.component';
import { OnlyAuthorizedComponent } from './_pages/only-authorized/only-authorized.component';
import { RegisterPageComponent } from './_pages/register-page/register-page.component';
-import { AuthGuardService } from './_services/auth-guard.service';
-import { DatasetLoadComponent } from './_elements/dataset-load/dataset-load.component';
+import { AddModelComponent } from './_pages/add-model/add-model.component';
const routes: Routes = [
+ { path: '', redirectTo: '/login', pathMatch: 'full' },
{ path: 'login', component: LoginPageComponent },
{ path: 'register', component: RegisterPageComponent },
{ path: 'only-authorized', component: OnlyAuthorizedComponent, canActivate: [AuthGuardService] },
- { path: 'proba', component: DatasetLoadComponent}
+ { path: 'add-model', component: AddModelComponent }
];
@NgModule({