diff options
author | dartcafe <github@dartcafe.de> | 2019-01-10 12:26:31 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2019-01-10 12:26:31 +0300 |
commit | b9c2ad1c320bb79d0043756f71dba8e25134ab5e (patch) | |
tree | e05c219908849363ba8728d2b070ff4291467960 /src/js/router.js | |
parent | 8fea79eb9bec3e27edcf644063d738168be913f7 (diff) |
progress
Diffstat (limited to 'src/js/router.js')
-rw-r--r-- | src/js/router.js | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/js/router.js b/src/js/router.js index ca2f4282..1a8939b7 100644 --- a/src/js/router.js +++ b/src/js/router.js @@ -38,11 +38,7 @@ export default new Router({ linkActiveClass: 'active', routes: [ { - path: '/:index(index.php/)?apps/polls/', - redirect: { name: 'list' } - }, - { - path: '/:index(index.php/)?apps/polls/list/', + path: '/:index(index.php/)?apps/polls/list', components: { default: List }, @@ -64,11 +60,6 @@ export default new Router({ }, props: false, name: 'create' - }, - { - path: '/:index(index.php/)?apps/polls/poll/:hash', - props: false, - name: 'vote' } ] }) |