1
0

Added method to add a new namespace

This commit is contained in:
kolaente
2018-09-11 19:20:07 +02:00
parent 6dec563782
commit a4dafcd159
3 changed files with 13 additions and 4 deletions

View File

@ -8,6 +8,8 @@ import RegisterComponent from '@/components/user/Register'
// List Handling
import ShowListComponent from '@/components/lists/ShowList'
import NewListComponent from '@/components/lists/NewList'
// Namespace Handling
import NewNamespaceComponent from '@/components/namespaces/NewNamespace'
Vue.use(Router)
@ -34,9 +36,14 @@ export default new Router({
component: ShowListComponent
},
{
path: '/namespaces/:id',
path: '/namespaces/:id/list',
name: 'newList',
component: NewListComponent
},
{
path: '/namespaces/new',
name: 'newNamespace',
component: NewNamespaceComponent
}
]
})