forked from GNUsocial/gnu-social
Route for remote subscribe link on profile page.
This commit is contained in:
parent
bdb8c12d97
commit
32e0fb1483
@ -116,6 +116,7 @@ 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'));
|
||||||
|
$m->connect('main/remote?nickname=:nickname', array('action' => 'remotesubscribe'), array('nickname' => '[A-Za-z0-9_-]+'));
|
||||||
|
|
||||||
foreach (array('requesttoken', 'accesstoken', 'userauthorization',
|
foreach (array('requesttoken', 'accesstoken', 'userauthorization',
|
||||||
'postnotice', 'updateprofile', 'finishremotesubscribe') as $action) {
|
'postnotice', 'updateprofile', 'finishremotesubscribe') as $action) {
|
||||||
|
Loading…
Reference in New Issue
Block a user