fix error on open create item page in collection

This commit is contained in:
eduardohumberto 2018-02-23 16:59:28 -03:00
parent 6e305d5a4a
commit 318380ea9d
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ const routes = [
},
{ path: 'items/new', name: 'ItemEditionPage', component: ItemEditionPage, meta: {title: 'Create Item'} },
{ path: '/collections/:collection_id/items/:id/edit', name: 'ItemEditionPage', component: ItemEditionPage, meta: {title: 'Edit Item'} },
{ path: '/collections/:collection_id/items/new', name: 'ItemCreatePage', component: ItemEditionPage, meta: {title: 'Create Item'} },
{ path: '/collections/:collection_id/items/:id', name: 'ItemPage', component: ItemPage, meta: {title: 'Item Page'} },
{ path: '/items', name: 'ItemsPage', component: ItemsPage, meta: {title: 'Items Page'} },