[SOLVED] Routing problem

Hello,
I’m creating a Package. My Routes.yaml file contains :
-
name: ‘Dashboard’
uriPattern: ‘’
defaults:
‘package’: ‘Medissix.Mdxerp’
‘controller’: ‘Standard
‘action’: ‘index’
‘format’: ‘html’

but in system_developpement.log I see this :

resolve a route for building an URI for the given resolve context.
[array] =>
routeValues:
[array] =>
action:
[string] => index
controller:
[string] => login
package:
[string] => medissix.mdxerp
format:
[string] => html

What ever I put as controller it replace it with “login”. Can someone help me?

Thank you.

Sorry. I found the solution. I was calling a redirect.

1 Like