Hello all,
I have a controller with some route scope like the one mentioned below,
- @Route(„/example/redirect“, name=„my.route.name.label“, methods={„POST“})
and my sub-shop URL like this - https://sampledomain.com/subshop
When I have generated the URL for this controller using the route, I always get the wrong URL:
Coding in helper class:
$this->router->generate(‚my.route.name.label‘, [ ], UrlGeneratorInterface::ABSOLUTE_URL);
Excepted Output
https://sampledomain.com/subshop/example/redirect
Current Output
https://sampledomain.com/example/redirect
shopware version - 6.5.5.0. If any thing missed in the URL generation please any one guide me