summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorAdrian Lang <mail@adrianlang.de>2009-02-21 18:51:56 +0100
committerEvan Prodromou <evan@controlyourself.ca>2009-02-27 15:38:52 -0800
commit42eecfabca67e5caee1f4e5894b711cacd0a9f9d (patch)
tree071e43582a96cff3c76048a5252ceb28ef7f380c /lib/router.php
parent7af6f5392be2b847c4c026f2632fc1c900338b81 (diff)
Adds some missing routes.
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/router.php b/lib/router.php
index b18a5523e..b142022f0 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -117,6 +117,11 @@ class Router
$m->connect('main/openid', array('action' => 'openidlogin'));
$m->connect('main/remote', array('action' => 'remotesubscribe'));
+ foreach (array('requesttoken', 'accesstoken', 'userauthorization',
+ 'postnotice', 'updateprofile') as $action) {
+ $m->connect('index.php?action=' . $action, array('action' => $action));
+ }
+
// settings
foreach (array('profile', 'avatar', 'password', 'openid', 'im',
@@ -411,4 +416,4 @@ class Router
return $this->m->generate($args, $params, $fragment);
}
-} \ No newline at end of file
+}