source: src/Clients/Angular/finki-chattery/src/app/app-routing.module.ts@ 31c006c

dev
Last change on this file since 31c006c 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
RevLine 
[e6a6d9a]1import { NgModule } from '@angular/core';
2import { Routes, RouterModule } from '@angular/router';
[dab7a9b]3import { AuthorizedGuard } from './core/guards/authorized.guard';
[e6a6d9a]4
5const routes: Routes = [
[dab7a9b]6 {
7 path: 'questioning',
8 canActivate: [AuthorizedGuard],
9 loadChildren: () => import('./modules/questioning/questioning.module').then((x) => x.QuestioningModule)
10 },
[e6a6d9a]11 {
12 path: '**',
[31c006c]13 redirectTo: 'questioning/preview'
[e6a6d9a]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.