From cd09e0943125996f453085f6f9ef5a5e7f297c7b Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Wed, 29 Apr 2020 23:40:22 +0300 Subject: [PATCH] Create route for status show --- src/router/index.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/router/index.js b/src/router/index.js index e8510bb8..40d4d7cd 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -172,5 +172,17 @@ export const asyncRouterMap = [ ], hidden: true }, + { + path: '/statuses/:id', + component: Layout, + children: [ + { + path: '', + name: 'StatusShow', + component: () => import('@/views/statuses/show') + } + ], + hidden: true + }, { path: '*', redirect: '/404', hidden: true } ]