dev
Last change
on this file since 9885bee was dab7a9b, checked in by Стојков Марко <mst@…>, 3 years ago |
Preview question component
|
-
Property mode
set to
100644
|
File size:
543 bytes
|
Rev | Line | |
---|
[e6a6d9a] | 1 | import { NgModule } from '@angular/core';
|
---|
| 2 | import { Routes, RouterModule } from '@angular/router';
|
---|
[dab7a9b] | 3 | import { AuthorizedGuard } from './core/guards/authorized.guard';
|
---|
[e6a6d9a] | 4 |
|
---|
| 5 | const 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: '**',
|
---|
| 13 | redirectTo: 'public/home'
|
---|
| 14 | }
|
---|
| 15 | ];
|
---|
| 16 |
|
---|
| 17 | @NgModule({
|
---|
| 18 | imports: [RouterModule.forRoot(routes)],
|
---|
| 19 | exports: [RouterModule]
|
---|
| 20 | })
|
---|
| 21 | export class AppRoutingModule {}
|
---|
Note:
See
TracBrowser
for help on using the repository browser.