Route for remote subscribe link on profile page.

This commit is contained in:
Adrian Lang 2009-02-22 14:27:09 +01:00 committed by Evan Prodromou
parent bdb8c12d97
commit 32e0fb1483
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ class Router
$m->connect('main/openid', array('action' => 'openidlogin'));
$m->connect('main/remote', array('action' => 'remotesubscribe'));
$m->connect('main/remote?nickname=:nickname', array('action' => 'remotesubscribe'), array('nickname' => '[A-Za-z0-9_-]+'));
foreach (array('requesttoken', 'accesstoken', 'userauthorization',
'postnotice', 'updateprofile', 'finishremotesubscribe') as $action) {