forked from GNUsocial/gnu-social
Add subedit to the main/ routes.
This commit is contained in:
parent
6101280cd9
commit
c8b10381a9
@ -101,7 +101,7 @@ class Router
|
|||||||
$main = array('login', 'logout', 'register', 'subscribe',
|
$main = array('login', 'logout', 'register', 'subscribe',
|
||||||
'unsubscribe', 'confirmaddress', 'recoverpassword',
|
'unsubscribe', 'confirmaddress', 'recoverpassword',
|
||||||
'invite', 'favor', 'disfavor', 'sup',
|
'invite', 'favor', 'disfavor', 'sup',
|
||||||
'block');
|
'block', 'subedit');
|
||||||
|
|
||||||
foreach ($main as $a) {
|
foreach ($main as $a) {
|
||||||
$m->connect('main/'.$a, array('action' => $a));
|
$m->connect('main/'.$a, array('action' => $a));
|
||||||
|
Loading…
Reference in New Issue
Block a user