mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-14 15:45:49 +01:00
switch to new routing method
should help with future implementations
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { PageNotFoundComponent } from './pagenotfound.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: 'pagenotfound',
|
||||
component: PageNotFoundComponent,
|
||||
},
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule],
|
||||
})
|
||||
export class PageNotFoundRoutingModule {}
|
||||
Reference in New Issue
Block a user