add our routes at the begnning, not the end.
This commit is contained in:
parent
b9eee437dd
commit
7cc4c97aa9
@ -77,7 +77,7 @@ class EmailRegistrationPlugin extends Plugin
|
||||
return true;
|
||||
}
|
||||
|
||||
function onRouterInitialized($m)
|
||||
function onStartInitializeRouter($m)
|
||||
{
|
||||
$m->connect('main/register/:code', array('action' => 'emailregister'));
|
||||
$m->connect('main/register', array('action' => 'emailregister'));
|
||||
|
Loading…
Reference in New Issue
Block a user