Arbitrary options
You can now pass arbitrary options to messages, thanks to @cowboyd for this one!
Ember.get('flashMessages').success('Cool story bro', {
someOption : 'hello'
});
Ember.get('flashMessages').add({
message : 'hello',
type : 'foo',
template : 'some-template',
context : customContext
});For example, this allows the template that ultimately renders the flash to be as rich as it needs to be: