Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Commit 9387837

Browse files
committed
route accidentally removed in cleanup
1 parent d94e63e commit 9387837

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

src/plugins/router.js

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,14 +169,25 @@ const routes = [
169169
// show Ballot otherwise
170170
return import("@/views/Voting/Ballot");
171171
}
172+
},
173+
{
174+
path: "vote-confirmation",
175+
name: "voting-confirmation",
176+
meta: {
177+
challengeOver: true
178+
},
179+
component: () => import("@/views/Voting/Confirm")
172180
}
173181
]
174182
},
175183
{
176184
// quiz routes
177185
path: "/",
178186
component: () => import("@/views/Public/App"),
179-
meta: { secured: true, challengeOpenOrPending: true },
187+
meta: {
188+
secured: true,
189+
challengeOpenOrPending: true
190+
},
180191
children: [
181192
{
182193
path: "quiz",
@@ -274,7 +285,9 @@ const routes = [
274285
// quiz routes
275286
path: "/",
276287
component: () => import("@/views/Public/App"),
277-
meta: { secured: false },
288+
meta: {
289+
secured: false
290+
},
278291
children: [
279292
{
280293
path: "voting-tips",
@@ -296,10 +309,11 @@ const routes = [
296309
{
297310
path: "*",
298311
name: "wildcard",
299-
redirect: { name: "redirect" }
312+
redirect: {
313+
name: "redirect"
314+
}
300315
}
301316
];
302-
303317
const router = new VueRouter({
304318
mode: "history",
305319
routes

0 commit comments

Comments
 (0)