I need to create next structure:
+controller ++admin +++catalog ++++category.php ++++product.php +++users
and I need to open them by url /admin/catalog/category/action/param I tried to create route:
Route::set('admin', '(<directory>(/<controller>(/<action>(/<custom_param>))))',array(
'directory' => '(admin/.*)'
))
->defaults(array(
'controller' => 'dashboard',
'action' => 'index'
));