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>2019-10-27 21:56:50 +0300
committerdartcafe <github@dartcafe.de>2019-10-27 21:56:50 +0300
commit40c8d073840630f58cca33c34e1632e6192dca40 (patch)
tree2b8c7cd9f77a5c66c9ffdb034369ee66edf47a2e /src/js/router.js
parenta29a1844bb563ea7adc32a8aec736a89b6e95331 (diff)
Create poll from navigation
Diffstat (limited to 'src/js/router.js')
-rw-r--r--src/js/router.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/js/router.js b/src/js/router.js
index 812dbfbd..b8cb4715 100644
--- a/src/js/router.js
+++ b/src/js/router.js
@@ -56,25 +56,25 @@ export default new Router({
{
path: '/:index(index.php/)?apps/polls/edit/:id',
components: {
- default: Create
+ default: Vote
},
props: true,
name: 'edit'
},
{
- path: '/:index(index.php/)?apps/polls/clone/:id',
+ path: '/:index(index.php/)?apps/polls/vote/:id',
components: {
- default: Create
+ default: Vote
},
props: true,
name: 'clone'
},
{
- path: '/:index(index.php/)?apps/polls/new',
+ path: '/:index(index.php/)?apps/polls/vote/:id',
components: {
- default: Create
+ default: Vote
},
- props: false,
+ props: true,
name: 'create'
}
]