[eluser]Mark75[/eluser]
Hi,
i use hmvc and have a routing/remapping question. I want to keep my global routes.php clean and let my module-controllers do all the logic using _remap.
This is in my global routes.php
Code:
$route['default_controller'] = "page";
$route['scaffolding_trigger'] = "";
My page controller uses _remap to handle all incoming requests. That works fine if
1) the URI contains no data (because it is the default_controller) or
2) i add
Code:
$route[':any'] = "page";
to routes.php, but then i have to make routes for all other controllers, "blog" for example.
Is it possible to route all requests to the default_controller without defining extra routes for my other controllers?
Regards
Mark