Adds some missing routes.
This commit is contained in:
parent
7af6f5392b
commit
42eecfabca
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user