Set up ember-cli-flash

This commit is contained in:
Matthew Dillon 2015-06-23 13:42:13 -08:00
parent a8fdff6be0
commit c1b180ebac
11 changed files with 45 additions and 14 deletions

View file

@ -34,6 +34,11 @@ module.exports = function(environment) {
'style-src': "'self' 'unsafe-inline'",
'media-src': "'self'"
},
flashMessageDefaults: {
sticky: true,
type: 'error',
types: ['error', 'warning', 'success', 'information', 'tip', 'message'],
},
};
if (environment === 'development') {