create new title

This commit is contained in:
2020-05-03 11:54:12 +02:00
committed by smuddy
parent ea39208840
commit ca661e3da9
13 changed files with 185 additions and 4 deletions

View File

@@ -3,6 +3,7 @@ import {RouterModule, Routes} from '@angular/router';
import {SongComponent} from './song/song.component';
import {SongListComponent} from './song-list/song-list.component';
import {EditComponent} from './song/edit/edit.component';
import {NewComponent} from './song/new/new.component';
const routes: Routes = [
@@ -11,6 +12,10 @@ const routes: Routes = [
component: SongListComponent,
pathMatch: 'full'
},
{
path: 'new',
component: NewComponent
},
{
path: ':songId/edit',
component: EditComponent