Moved list of macros to the new component

This commit is contained in:
NejcZdovc
2016-10-21 06:20:13 +02:00
committed by József Farkas
parent 1063cb2e6e
commit 3a69726257
11 changed files with 226 additions and 193 deletions

View File

@@ -1,12 +1,12 @@
import { Routes } from '@angular/router';
import { MacroAddComponent } from './add/macro-add.component';
import { MacroComponent } from './macro.component';
import { MacroEditComponent } from './edit/macro-edit.component';
export const macroRoutes: Routes = [
{
path: 'macro',
component: MacroComponent
component: MacroEditComponent
},
{
path: 'macro/add',
@@ -14,6 +14,6 @@ export const macroRoutes: Routes = [
},
{
path: 'macro/:id',
component: MacroComponent
component: MacroEditComponent
}
];