Feature request from 12th, posted on GitHub Feb 22, 2014
Hello. I apologize in advance if this functionality is. I would like to make a suggestion on the routes. It is very lacking in the short address with address bar of your browser. Now addressing Magenta works of principle:
http:// domain.com / module / controller / action
http:// domain.com / checkout / cart / updatePost
It would be great if had the opportunity to register routes for specific modules, as is done, for example, in the framework Kohana:
Route::set('default', '(controller(/action(/id)))')
->defaults(array(
'controller' => 'welcome',
'action' => 'index',
));
Route::set('cart', 'cart(/param1)')
->defaults(array(
'directory' => 'checkoutDirectory',
'controller' => 'cartController',
'action' => 'indexAction',
));
PS: example is slightly modified in order to convey the essence
And then when you click on the address:
http:// domain.com / cart
working out the controller
http:// domain.com / checkout / cart / index