mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Initial commit
This commit is contained in:
32
ui/v1/src/app/scenes/scenes-routing.module.ts
Normal file
32
ui/v1/src/app/scenes/scenes-routing.module.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
|
||||
import { ScenesComponent } from './scenes/scenes.component';
|
||||
import { SceneListComponent } from './scene-list/scene-list.component';
|
||||
import { SceneDetailComponent } from './scene-detail/scene-detail.component';
|
||||
import { SceneFormComponent } from './scene-form/scene-form.component';
|
||||
import { SceneWallComponent } from './scene-wall/scene-wall.component';
|
||||
import { MarkerListComponent } from './marker-list/marker-list.component';
|
||||
|
||||
const scenesRoutes: Routes = [
|
||||
{ path: 'wall', component: SceneWallComponent },
|
||||
{ path: 'markers', component: MarkerListComponent },
|
||||
{ path: '',
|
||||
component: ScenesComponent,
|
||||
children: [
|
||||
{ path: '', component: SceneListComponent },
|
||||
{ path: ':id', component: SceneDetailComponent },
|
||||
{ path: ':id/edit', component: SceneFormComponent }
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
RouterModule.forChild(scenesRoutes)
|
||||
],
|
||||
exports: [
|
||||
RouterModule
|
||||
]
|
||||
})
|
||||
export class ScenesRoutingModule {}
|
||||
Reference in New Issue
Block a user