summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-02-02 06:26:03 +0000
committerZach Copley <zach@status.net>2010-02-05 03:18:43 +0000
commite495ac356c10a6abc0e10c81892830b5e198ef60 (patch)
tree1a0b321221a7ddaf38132d057bb1f02b8f39e61e /lib
parentdc183f23cf3bd8e0fbd604ad2af4b12f77837bf2 (diff)
Allow developers to delete OAuth applications
Diffstat (limited to 'lib')
-rw-r--r--lib/router.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index 4b5b8d0bb..5981ef5d7 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -152,6 +152,10 @@ class Router
array('action' => 'editapplication'),
array('id' => '[0-9]+')
);
+ $m->connect('settings/oauthapps/delete/:id',
+ array('action' => 'deleteapplication'),
+ array('id' => '[0-9]+')
+ );
// search