add our routes at the begnning, not the end.

This commit is contained in:
Evan Prodromou 2011-04-17 18:05:18 -04:00
parent b9eee437dd
commit 7cc4c97aa9

View File

@ -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'));