route to entry info page
This commit is contained in:
1 parent
de39e469b7
commit
85ca240c0b
1 file changed
+2
@@ -6,6 +6,7 @@ import { TrendingComponent } from './features/pages/trending/trending.component'
|
|||||||
import { PopularComponent } from './features/pages/popular/popular.component';
|
import { PopularComponent } from './features/pages/popular/popular.component';
|
||||||
import { LibraryComponent } from './features/pages/library/library.component';
|
import { LibraryComponent } from './features/pages/library/library.component';
|
||||||
import { ListsComponent } from './features/pages/lists/lists.component';
|
import { ListsComponent } from './features/pages/lists/lists.component';
|
||||||
|
import { ListInfoComponent } from './features/list-info/list-info.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{ path: '', redirectTo: '/home', pathMatch: 'full' },
|
{ path: '', redirectTo: '/home', pathMatch: 'full' },
|
||||||
@@ -16,6 +17,7 @@ const routes: Routes = [
|
|||||||
|
|
||||||
{ path: 'library', component: LibraryComponent },
|
{ path: 'library', component: LibraryComponent },
|
||||||
{ path: 'lists', component: ListsComponent },
|
{ path: 'lists', component: ListsComponent },
|
||||||
|
{ path: 'lists/:id', component: ListInfoComponent },
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
|||||||
Reference in new issue
Block a user