
Space.Object.extend(TodoMVC, 'LayoutController', {

  mixin: [
    Space.messaging.EventSubscribing
  ],

  dependencies: {
    layout: 'BlazeLayout'
  },

  eventSubscriptions() {
    return [{
      'TodoMVC.FilterRouteTriggered'() {
        this.layout.render('index', {
          input: 'input',
          todo_list: 'todo_list',
          footer: 'footer'
        });
      }
    }];
  }
});

TodoMVC.LayoutController.mixin(Space.messaging.EventSubscribing);


Space.Object.extend(TodoMVC, 'LayoutController', {

  mixin: [
    Space.messaging.EventSubscribing
  ],

  dependencies: {
    layout: 'BlazeLayout'
  },

  eventSubscriptions() {
    return [{
      'TodoMVC.FilterRouteTriggered'() {
        this.layout.render('index', {
          input: 'input',
          todo_list: 'todo_list',
          footer: 'footer'
        });
      }
    }];
  }
});

Remove outdated code to apply mixin