You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using constructor injection in my controllers, automatic route generation is not allowing constructor injection, instead of the bundle:controller:action convention, it should use the service_name:actionAction convention.
For instace, supose I have this controller as a service:
When using constructor injection in my controllers, automatic route generation is not allowing constructor injection, instead of the bundle:controller:action convention, it should use the service_name:actionAction convention.
For instace, supose I have this controller as a service:
Then, with this routing:
I'm not getting the dependency injected into my controller. However, If I use the following routing:
I do get the dependency injected, but using this, I'm bypassing the automatic route generation.
The text was updated successfully, but these errors were encountered: