Configurable injection points
You can now choose which factories you want to inject the flash message service into, by setting this prop in the flashMessageDefaults prop in config/environment.
module.exports = function(environment) {
var ENV = {
flashMessageDefaults: {
injectionFactories : [ 'route', 'controller', 'view:bar', 'component:foo' ]
}
}
}Changelog
- Injection points now configurable
- Fixed broken overrides