magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

Possibility of a short route with address bar of the browser

Open 12th opened this issue 12 years ago • 5 comments

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

12th avatar Feb 22 '14 06:02 12th

Similar thing was already done as a community module: https://github.com/magento-hackathon/Hackathon_CustomUrls

IvanChepurnyi avatar Feb 26 '14 09:02 IvanChepurnyi

@12th, Thank you for the idea! We have created an issue in the product backlog. We will get back to you once we complete the analysis.

verklov avatar Apr 01 '14 20:04 verklov

Internal ticket: MAGETWO-23155

vpelipenko avatar Jan 29 '15 11:01 vpelipenko

This proposal is currently not our priority. It was added to the backlog. Similar functionality can be achieved with server rewrites if needed.

piotrekkaminski avatar May 10 '16 21:05 piotrekkaminski

Thank you for your submission.

We recently made some changes to the way we process GitHub submissions to more quickly identify and respond to core code issues.

Feature Requests and Improvements should now be submitted to the new Magento 2 Feature Requests and Improvements forum (see details here).

We are closing this GitHub ticket and have moved your request to the new forum.

piotrekkaminski avatar Aug 30 '16 19:08 piotrekkaminski