Dan Field wrote:

$router->addRoute('pages', $testhighlightingRoute);
$router->addRoute('pages', $testdisplayimageRoute);

It's as if the second route is overwriting the first one some how. Any ideas? I'm stumped.

That's exactly what happened because you named both of the routes the same - 'pages'. This name is used internally as an array key for the routes collection.

--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | 
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Idleness is not doing nothing. Idleness is being free to do anything." --
Floyd Dell

Reply via email to