Skip to content

Possibility of a short route with address bar of the browser #513

@12th

Description

@12th

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentimprovement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions