zf2-assetic-module
zf2-assetic-module copied to clipboard
Turn off mixins for specific routes
It would be great to be able to turn off mixins (default assets) for specific routes e.g. ajax request. I have some assets like javascript that I want to be injected for an ajax request but do not want/cannot put in the main page layout (e.g. ajax can fire on many different pages). I do not want mixins to be included in an ajax loaded HTML because they are already included in the page.