First of all, let me note that I am reading the routing docs...but not 100% certain what I am loking for. So, I think this will amount to something easy and I need a pointer in the correct direction.
I am writing a multi module site (backend and frontend). Started with the great example at: https://github.com/phalcon/mvc/tree/master/multiple-shared-layouts
I am trying to route the following url: /localhost/test to a layout in /apps/backend/layouts/test.phtml as such:
$router->add('/test', array( 'module' => 'backend', 'controller' => 'index', 'action' => 'index' ));
What I get is a printout of the file contents of the /test directory (Which contains all the supporting media files...so I see an images directory, a css directory, etc...) This is presented instead of the layout defined in /apps/backend/layouts/test.phtml which should reference said support files.
Any pointers would be greatly appreciated!!