Use url parameter instead of query parameter

This commit is contained in:
natsoni
2024-06-26 15:09:52 +09:00
parent 7b6246a035
commit 09f7dddf14
4 changed files with 16 additions and 9 deletions

View File

@@ -45,9 +45,13 @@ const routes: Routes = [
loadChildren: () => import('./components/about/about.module').then(m => m.AboutModule),
},
{
path: 'blocks',
path: 'blocks/:page',
component: BlocksList,
},
{
path: 'blocks',
redirectTo: 'blocks/1',
},
{
path: 'rbf',
component: RbfList,