Got it to work finally!! These are the final routes:
Router::connect('/:company/:controller/:action', array('controller'
=> 'home', 'action' => 'index'));
Router::connect('/:company/:controller/:action/*', array('controller'
=> 'home', 'action' => 'index'));
Router::connect('/:company/:contr
I have done more tests with these and got little bit further, but
still having issues.. Here's the current state:
With these routes:
Router::connect('/:company/:controller/:action/', array('controller'
=> 'home', 'action' => 'index'));
Router::connect('/:company/:controller/', array('controll
On Mon, May 18, 2009 at 7:40 PM, doze wrote:
>
> Hello,
>
> I'm having some problems with my routing, let's go straight to
> business:
>
> When accessing this url: http://localhost/somecompany/home
>
> 1. With route setup:
>
> Router::connect('/:company/:controller/*');
>
> Result:
> Wor
Hello,
I'm having some problems with my routing, let's go straight to
business:
When accessing this url: http://localhost/somecompany/home
1. With route setup:
Router::connect('/:company/:controller/*');
Result:
Works ok, get's routed to /app/controllers/home_controller.php
2. Wi