diff options
author | Adrian Lang <mail@adrianlang.de> | 2009-02-22 14:27:09 +0100 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-02-27 15:43:54 -0800 |
commit | 32e0fb148312bb2a052111513ed71fc4948a9fb7 (patch) | |
tree | 30b299b1e9864c091269fe7e5664dfd68dba57c4 /lib | |
parent | bdb8c12d975846ce128619e672b8064b8f5f890a (diff) |
Route for remote subscribe link on profile page.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/router.php | 1 |
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) { |