This repository was archived by the owner on Dec 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -169,14 +169,25 @@ const routes = [
169
169
// show Ballot otherwise
170
170
return import ( "@/views/Voting/Ballot" ) ;
171
171
}
172
+ } ,
173
+ {
174
+ path : "vote-confirmation" ,
175
+ name : "voting-confirmation" ,
176
+ meta : {
177
+ challengeOver : true
178
+ } ,
179
+ component : ( ) => import ( "@/views/Voting/Confirm" )
172
180
}
173
181
]
174
182
} ,
175
183
{
176
184
// quiz routes
177
185
path : "/" ,
178
186
component : ( ) => import ( "@/views/Public/App" ) ,
179
- meta : { secured : true , challengeOpenOrPending : true } ,
187
+ meta : {
188
+ secured : true ,
189
+ challengeOpenOrPending : true
190
+ } ,
180
191
children : [
181
192
{
182
193
path : "quiz" ,
@@ -274,7 +285,9 @@ const routes = [
274
285
// quiz routes
275
286
path : "/" ,
276
287
component : ( ) => import ( "@/views/Public/App" ) ,
277
- meta : { secured : false } ,
288
+ meta : {
289
+ secured : false
290
+ } ,
278
291
children : [
279
292
{
280
293
path : "voting-tips" ,
@@ -296,10 +309,11 @@ const routes = [
296
309
{
297
310
path : "*" ,
298
311
name : "wildcard" ,
299
- redirect : { name : "redirect" }
312
+ redirect : {
313
+ name : "redirect"
314
+ }
300
315
}
301
316
] ;
302
-
303
317
const router = new VueRouter ( {
304
318
mode : "history" ,
305
319
routes
You can’t perform that action at this time.
0 commit comments