source: src/Clients/Angular/finki-chattery/src/app/app-routing.module.ts@ 45cf412

dev
Last change on this file since 45cf412 was 31c006c, checked in by Стојков Марко <mst@…>, 3 years ago

Add categories endpoint and state for categories, added questions preview component

  • Property mode set to 100644
File size: 551 bytes
Line 
1import { NgModule } from '@angular/core';
2import { Routes, RouterModule } from '@angular/router';
3import { AuthorizedGuard } from './core/guards/authorized.guard';
4
5const routes: Routes = [
6 {
7 path: 'questioning',
8 canActivate: [AuthorizedGuard],
9 loadChildren: () => import('./modules/questioning/questioning.module').then((x) => x.QuestioningModule)
10 },
11 {
12 path: '**',
13 redirectTo: 'questioning/preview'
14 }
15];
16
17@NgModule({
18 imports: [RouterModule.forRoot(routes)],
19 exports: [RouterModule]
20})
21export class AppRoutingModule {}
Note: See TracBrowser for help on using the repository browser.