Skip to content

Commit 5fd5b0c

Browse files
dmitriy-borzenkoDmitriy Borzenko
and
Dmitriy Borzenko
authored
route hierarchy (#579)
Co-authored-by: Dmitriy Borzenko <[email protected]>
1 parent 27a3935 commit 5fd5b0c

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [Unreleased]
8+
### Fixed
9+
- `/page-not-found` route hierarchy
10+
711
## [0.41.0] - 2025-03-07
812
### Added
913
- Added resolver `BlockMetadataResolver` for metadata block page

src/app/app-routing.module.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ import RoutingResolvers from "./common/resolvers/routing-resolvers";
3838

3939
export const routes: Routes = [
4040
{ path: "", redirectTo: ProjectLinks.DEFAULT_URL, pathMatch: "full" },
41+
{
42+
path: ProjectLinks.URL_PAGE_NOT_FOUND,
43+
component: PageNotFoundComponent,
44+
},
4145
{
4246
path: ProjectLinks.URL_LOGIN,
4347
component: LoginComponent,
@@ -141,10 +145,6 @@ export const routes: Routes = [
141145
path: ProjectLinks.URL_ADMIN_DASHBOARD,
142146
component: AdminDashboardComponent,
143147
},
144-
{
145-
path: ProjectLinks.URL_PAGE_NOT_FOUND,
146-
component: PageNotFoundComponent,
147-
},
148148

149149
{
150150
path: "**",

0 commit comments

Comments
 (0)