s1uggard/kohana3-tree — Issue #1: Init conflict with defined routes
Author: thekandor
Created: 2011-11-25 14:40:21+00:00
State: open

Change your init to different than
Route::set('tree', '/(/)(/)')
->defaults(array(
'controller' => 'tree',
'action'	=> 'index',
));
Because it "takes over" of EVERY path that has up to 3 parameters!
Should be something similiar to
Route::set('tree', '/(/)(/)', array('controller' => 'tree'))
->defaults(array(
'controller' => 'tree',
'action'	=> 'index',
));
or
Route::set('tree', 'tree/(/)(/)')
->defaults(array(
'controller' => 'tree',
'action'	=> 'index',
));
or first with list of every action separated with |, because now your init simply cover every route with less than 4 parameters in bootstrap or other init files and disallow to fire them. I was for last one hour looking why my whole app ignore every route and go directly to default one. And change directory to be proper structure as a module. You forgot one directory with name of module inside /tree/classes/controller because it should be /tree/classes/controller/tree