diff options
author | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-13 20:57:27 +0100 |
---|---|---|
committer | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-13 20:57:27 +0100 |
commit | 6aeb963fa64af9dc0ddf2f9aeaf1903a7db26afc (patch) | |
tree | cc8ae72e108934022f9e8b6d9048717b7d6dac7e /frontend/src/app/app-routing.module.ts | |
parent | a561c4bed81a7399dbe900253c0576ad0ba6f5e7 (diff) |
Dodata naslovna strana i navigacioni meni, kao i neke dodatne komponente i modeli podataka (lista elemenata, element-dataset, element-prediktor).
Diffstat (limited to 'frontend/src/app/app-routing.module.ts')
-rw-r--r-- | frontend/src/app/app-routing.module.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts index cd86ef5c..775f3d76 100644 --- a/frontend/src/app/app-routing.module.ts +++ b/frontend/src/app/app-routing.module.ts @@ -7,9 +7,10 @@ import { OnlyAuthorizedComponent } from './_pages/only-authorized/only-authorize import { RegisterPageComponent } from './_pages/register-page/register-page.component'; import { AddModelComponent } from './_pages/add-model/add-model.component'; import { LoginModalComponent } from './_modals/login-modal/login-modal.component'; +import { HomeComponent } from './_pages/home/home.component'; const routes: Routes = [ - { path: '', redirectTo: '/login', pathMatch: 'full' }, + { path: '', component: HomeComponent }, { path: 'login', component: LoginPageComponent }, { path: 'register', component: RegisterPageComponent }, { path: 'only-authorized', component: OnlyAuthorizedComponent, canActivate: [AuthGuardService] }, |