Skip to content
Snippets Groups Projects

Resolve "Frontend: Vise annonser"

Merged Tormod Nygård requested to merge 4-frontend-vise-annonser into master
1 unresolved thread
31 files
+ 495
42
Compare changes
  • Side-by-side
  • Inline
Files
31
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { PostDetailsComponent } from './posts/post-details/post-details.component';
import { PostFormComponent } from './posts/post-form/post-form.component';
import { PostListComponent } from './posts/post-list/post-list.component';
const routes: Routes = [
{ path: 'annonse/ny', component: PostFormComponent }
{ path: 'annonse/ny', component: PostFormComponent },
{ path: 'annonse', component: PostListComponent },
{ path: 'annonse/:id', component: PostDetailsComponent }
];
@NgModule({
Loading