[Flow] Flow cant resolve routes for links it self generated.
Christian Loock
chl at vkf-renzel.de
Fri Sep 13 15:42:11 CEST 2013
Hello,
i have defined the following routes:
In the main Routes.yaml
-
name: 'VKF'
uriPattern: '<AdminSubroutes>'
defaults:
'@package': 'VKF.Admin'
'@format': 'html'
subRoutes:
AdminSubroutes:
package: 'VKF.Admin'
And in the Package's Routes.yaml
-
name: 'Customer System'
uriPattern: 'customerSystems/{customer}/{@action}.{@format}'
defaults:
'@controller': 'CustomerSystem'
routeParts:
customer:
objectType: 'VKF\Admin\Domain\Model\Customer'
uriPattern: '{name}'
If I use the link.action Viewhelper, it will generate a link according
to that rule:
.../customersystems/vkf-renzel/index.html
But if i click on it, the routing wont recognize it. I wants to resolve
the link using the Flow default routes.
Since the route definition intself seems to be working, what could be
the issue here?
Cheers,
Christian
More information about the Flow
mailing list