Add feedback route

This commit is contained in:
Johannes Zellner
2015-08-04 14:31:40 +02:00
parent 57e2803bd2
commit da48e32bcc
4 changed files with 44 additions and 5 deletions

View File

@@ -102,6 +102,9 @@ function initializeExpressSync() {
router.post('/api/v1/cloudron/certificate', rootScope, multipart, routes.cloudron.setCertificate);
router.get ('/api/v1/cloudron/graphs', rootScope, routes.graphs.getGraphs);
// feedback
router.post('/api/v1/cloudron/feedback', usersScope, routes.cloudron.feedback);
router.get ('/api/v1/profile', profileScope, routes.user.profile);
router.get ('/api/v1/users', usersScope, routes.user.list);