Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2020-01-21 15:43:38 +0300
committerdartcafe <github@dartcafe.de>2020-01-21 15:43:38 +0300
commit923d0f106c92e8699b966ea1721abfe15cd8824f (patch)
tree2d6e26ca4441d85345dfc55b6eeb65598b466895 /src/js/router.js
parentbc00379d2efe8708214b2203372d31a3c31ea22c (diff)
redirect old public routes #761
Diffstat (limited to 'src/js/router.js')
-rw-r--r--src/js/router.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/js/router.js b/src/js/router.js
index 9eb26428..d11cbc71 100644
--- a/src/js/router.js
+++ b/src/js/router.js
@@ -64,6 +64,10 @@ export default new Router({
name: 'vote'
},
{
+ path: '/poll/:token',
+ redirect: '/s/:token'
+ },
+ {
path: '/s/:token',
components: {
default: PublicVote