summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorAdrian Lang <mail@adrianlang.de>2009-02-22 14:27:09 +0100
committerEvan Prodromou <evan@controlyourself.ca>2009-02-27 15:43:54 -0800
commit32e0fb148312bb2a052111513ed71fc4948a9fb7 (patch)
tree30b299b1e9864c091269fe7e5664dfd68dba57c4 /lib/router.php
parentbdb8c12d975846ce128619e672b8064b8f5f890a (diff)
Route for remote subscribe link on profile page.
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index f70b67f38..95ce77e5e 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) {