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
There is no way to use controller configuration in pair with router configuration.
For example, I develop a project which has front and admin parts.
Obviously, the project can have some default scripts for front and admin:
But when I want to add a custom script for a controller the config above stop working, because AsseticBundle\Service::setupRenderer handle router configuration only when the controller configuration doesn't set.
There is no way to use controller configuration in pair with router configuration.
For example, I develop a project which has front and admin parts.
Obviously, the project can have some default scripts for front and admin:
But when I want to add a custom script for a controller the config above stop working, because
AsseticBundle\Service::setupRenderer
handle router configuration only when the controller configuration doesn't set.This can be fixed with a simple change:
to
If you agree with this change I will do PR.
The text was updated successfully, but these errors were encountered: