diff --git a/app/controllers/branches.coffee b/app/controllers/branches.coffee index 00fc8a80..5d977e86 100644 --- a/app/controllers/branches.coffee +++ b/app/controllers/branches.coffee @@ -16,7 +16,7 @@ BranchesController = Ember.Controller.extend repos = @get('model') repos = repos.filter (item, index) -> item if item.exists_on_github == true && item.default_branch == false - .sortBy('default_branch.last_build.finished_at') + .sortBy('last_build.finished_at') .reverse() ).property('model')