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/editor/editor-routing.module.ts

20 lines
441 B

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