require('dashboard/core');

Dashboard.ApplicationController = Ember.ObjectController.extend();

Dashboard.RepositoriesController = Ember.ArrayController.extend({
  sortProperties: 'full_name'.w(),
  loadWatchedRepositories: function(username) {
    this.get('dataSource').watchedRepositories(username, this, 'addObjects');
  }
});
require('dashboard/core');

Dashboard.ApplicationController = Ember.Controller.extend();

Dashboard.RepositoriesController = Ember.ArrayController.extend({
  sortProperties: 'full_name'.w(),
  loadWatchedRepositories: function(username) {
    this.get('dataSource').watchedRepositories(username, this, 'addObjects');
  }
});
Change ApplicationController to be an Ember.Controller
Change ApplicationController to be an Ember.Controller
