aboutsummaryrefslogtreecommitdiff
path: root/appinfo/routes.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2014-10-07 07:51:07 +0200
committerChristian Weiske <cweiske@cweiske.de>2014-10-07 07:51:07 +0200
commitace226e665fa77d04a61dfd61818f6cce5df6861 (patch)
tree1008ad783d7e94249cf4b4103e41ecdf25ba2591 /appinfo/routes.php
parentb77c4b6b2de74543d9543139a1d2b3c4fe2f592f (diff)
downloadgrauphel-ace226e665fa77d04a61dfd61818f6cce5df6861.tar.gz
grauphel-ace226e665fa77d04a61dfd61818f6cce5df6861.zip
Deleting tokens works (without confirmation)
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index a730583..28ba16d 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -79,6 +79,11 @@ $application->registerRoutes(
'name' => 'token#delete',
'verb' => 'DELETE',
),
+ array(
+ 'url' => '/tokens/{username}/{tokenKey}',
+ 'name' => 'token#deletePost',
+ 'verb' => 'POST',
+ ),
)
)
);