You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
frontend/src/app/pages/viewer/viewer-routing.module.ts

20 lines
443 B

import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {ViewerPage} from './viewer.page';
import {EditorGuard} from '../../service/guard/Editor.guard';
const routes: Routes = [
{
path: 'site',
canActivate: [EditorGuard],
component: ViewerPage
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})
export class ViewerPageRoutingModule {}