Fix vue router urls to match with pre-vue ones

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-04-20 10:11:39 +02:00
parent 646d8960d5
commit 35f8e5c4eb

View File

@@ -42,7 +42,7 @@ export default new Router({
component: Boards, component: Boards,
}, },
{ {
path: '/boards', path: '/board',
name: 'boards', name: 'boards',
component: Boards, component: Boards,
props: { props: {
@@ -50,7 +50,7 @@ export default new Router({
}, },
}, },
{ {
path: '/boards/archived', path: '/board/archived',
name: 'boards.archived', name: 'boards.archived',
component: Boards, component: Boards,
props: { props: {
@@ -58,7 +58,7 @@ export default new Router({
}, },
}, },
{ {
path: '/boards/shared', path: '/board/shared',
name: 'boards.shared', name: 'boards.shared',
component: Boards, component: Boards,
props: { props: {
@@ -66,7 +66,7 @@ export default new Router({
}, },
}, },
{ {
path: '/boards/:id', path: '/board/:id',
name: 'board', name: 'board',
components: { components: {
default: Board, default: Board,
@@ -101,7 +101,7 @@ export default new Router({
}, },
}, },
{ {
path: 'cards/:cardId', path: 'card/:cardId',
name: 'card', name: 'card',
components: { components: {
sidebar: CardSidebar, sidebar: CardSidebar,