reverse order of register connects

This commit is contained in:
Evan Prodromou 2011-04-17 18:12:12 -04:00
parent 87330bf977
commit 35361656d5

View File

@ -84,8 +84,8 @@ class EmailRegistrationPlugin extends Plugin
function onStartInitializeRouter($m)
{
$m->connect('main/register/:code', array('action' => 'emailregister'));
$m->connect('main/register', array('action' => 'emailregister'));
$m->connect('main/register/:code', array('action' => 'emailregister'));
return true;
}