neilime/zf2-assets-bundle

problems with more than one module

mathias-heilmann opened this issue · 2 comments

We have 2 modules (main application module and a backoffice module). If I activate the 'AssetsBundle' module, it tries to render assets from both modules instead of the module, which is currently active. Is this a bug?

It's not a bug, assets that are defined on the top level of configuration, are global assets. There's no way to define assets for only one module, you should set assets in the controller configuration. But I will improve this and allows assets configuration for specific module, very soon.

Version 2.0 supports "module" level in assets configuration