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-02 06:26:03 +0000
commit38bebb4c0dbdf7452a55cc46bbb4a80ec55dcabe (patch)
tree825454e404416decf95a887dd2fc00a73d36b64c /lib
parent59d16cf16ac75e18431dfd5452c748e880dafefd (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 b046b240c..987d0152e 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