Hi there!
I wrote a neos plugin. Now i want to create routes but i have a problem: It seems that something is wrong with my routes because its not resolving the url in my form element. It should show:
/de/projektportal/login/auth/
instead of:
/de/projektportal/login?--my_package_portal_account-login%5B%40package%5D=my.package&--my_package_portal_account-login%5B%40controller%5D=login&--my_package_portal_account-login%5B%40action%5D=authenticate&--my_package_portal_account-login%5B%40format%5D=html
This is my Form:
<f:form package="My.Package" controller="Login" action="Authenticate" method="post">[...]</f:form>
This is my Routes.yaml:
-
name: 'My Route'
uriPattern: '{node}/auth/{--my_package_portal_account-login.status}'
defaults:
'@package': 'Neos.Neos'
'@controller': 'Frontend\Node'
'@format': 'html'
'@action': 'show'
'--my_package_portal_account-login':
'@package': 'my.package'
'@controller': 'login'
'@action': 'authenticate'
'@format': 'html'
'status': ''
routeParts:
node:
handler: Neos\Neos\Routing\FrontendNodeRoutePartHandler
appendExceedingArguments: TRUE
Can someone help me out?