index.js 450 B

123456789101112131415161718192021
  1. import Ember from 'ember';
  2. export default Ember.Controller.extend({
  3. actions: {
  4. testInfo: function() {
  5. this.send('flashInfo', this.get('newFlash'));
  6. },
  7. testSuccess: function() {
  8. this.send('flashSuccess', this.get('newFlash'));
  9. },
  10. testWarning: function() {
  11. this.send('flashWarning', this.get('newFlash'));
  12. },
  13. testError: function() {
  14. this.send('flashError', this.get('newFlash'));
  15. }
  16. }
  17. });