forked from GNUsocial/gnu-social
Plugins - added a new event (RouterInitialized) which allows a plugin to register new paths to be routed
This commit is contained in:
@@ -393,6 +393,8 @@ class Router
|
||||
array('action' => 'showstream'),
|
||||
array('nickname' => '[a-zA-Z0-9]{1,64}'));
|
||||
|
||||
Event::handle('RouterInitialized', array($m));
|
||||
|
||||
return $m;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user