From: Adrian Lang Date: Sun, 22 Feb 2009 13:27:09 +0000 (+0100) Subject: Route for remote subscribe link on profile page. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=32e0fb148312bb2a052111513ed71fc4948a9fb7;p=quix0rs-gnu-social.git Route for remote subscribe link on profile page. --- diff --git a/lib/router.php b/lib/router.php index f70b67f383..95ce77e5ef 100644 --- a/lib/router.php +++ b/lib/router.php @@ -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) {