Adds some missing routes.

This commit is contained in:
Adrian Lang 2009-02-21 18:51:56 +01:00 committed by Evan Prodromou
parent 7af6f5392b
commit 42eecfabca

View File

@ -117,6 +117,11 @@ class Router
$m->connect('main/openid', array('action' => 'openidlogin')); $m->connect('main/openid', array('action' => 'openidlogin'));
$m->connect('main/remote', array('action' => 'remotesubscribe')); $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 // settings
foreach (array('profile', 'avatar', 'password', 'openid', 'im', foreach (array('profile', 'avatar', 'password', 'openid', 'im',
@ -411,4 +416,4 @@ class Router
return $this->m->generate($args, $params, $fragment); return $this->m->generate($args, $params, $fragment);
} }
} }