From: Adrian Lang Date: Sat, 21 Feb 2009 17:51:56 +0000 (+0100) Subject: Adds some missing routes. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=42eecfabca67e5caee1f4e5894b711cacd0a9f9d;p=quix0rs-gnu-social.git Adds some missing routes. --- diff --git a/lib/router.php b/lib/router.php index b18a5523e9..b142022f0a 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 +}