Set up ember-cli-flash
This commit is contained in:
parent
a8fdff6be0
commit
c1b180ebac
11 changed files with 45 additions and 14 deletions
|
@ -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') {
|
||||
|
|
Reference in a new issue