Hi Everyone
Need help with one issue that I am facing , I am trying to redirect a core spryker URL to my custom module , to do that I have extended the core RouteProviderPlugin and overrided the addRoutes() method to map url to my custom controller , also registered the routeproviderplugin in RouteDependencyProvider , but still the URL is redirected to spryker project module. Is there anything else that needs to be done ?
m
mammoth-autumn-37948
05/19/2023, 8:26 AM
did u generate again the route cache for yves?
a
average-fall-19459
05/19/2023, 9:13 AM
Yes I execute dthe router cache warm up command
average-fall-19459
05/19/2023, 9:18 AM
I can access the new module for any other url , that I add in addRoute() , but when I try to override the 'register' url in my new module , the access goes to default CustomerPage module
m
mammoth-autumn-37948
05/19/2023, 1:42 PM
maybe the customerpage routing plugin is registered after yours... did u try to register your routing plugin as last one?
a
average-fall-19459
05/19/2023, 2:42 PM
yes I did that too , but still default one is getting called