Update flash message

This commit is contained in:
Matthew Dillon 2015-07-14 13:34:50 -08:00
parent 2343913f91
commit 6ce2fbe83b
3 changed files with 5 additions and 7 deletions

View file

@ -10,10 +10,6 @@ export default Ember.Route.extend(ApplicationRouteMixin, {
});
},
didTransition: function() {
this.get('flashMessages').clearMessages();
return true;
},
}
});

View file

@ -1 +1 @@
{{flash.message}}
✖ {{flash.message}}

View file

@ -44,7 +44,9 @@
<div class="view-wrap">
{{#each flashMessages.queue as |flash|}}
{{#flash-message flash=flash as |component flash|}}
{{custom-flash-message flash=flash}}
{{/flash-message}}
{{/each}}
{{yield}}
</div>