From 193a005434655880bcfee98c5a5ce837beb0bb42 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Thu, 30 Apr 2015 12:36:55 +0200 Subject: [PATCH] Remove some deprecations --- app/controllers/builds-item.coffee | 6 +++--- app/views/repo-show-tools.coffee | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/controllers/builds-item.coffee b/app/controllers/builds-item.coffee index 3db4ba54..50cc588a 100644 --- a/app/controllers/builds-item.coffee +++ b/app/controllers/builds-item.coffee @@ -6,15 +6,15 @@ Controller = Ember.ObjectController.extend(GithubUrlProperties, needs: ['builds'] isPullRequestsListBinding: 'controllers.builds.isPullRequestsList' - buildBinding: 'content' + buildBinding: 'model' color: (-> colorForState(@get('build.state')) ).property('build.state') urlAuthorGravatarImage: (-> - gravatarImage(@get('commit.authorEmail'), 40) - ).property('commit.authorEmail') + gravatarImage(@get('build.commit.authorEmail'), 40) + ).property('build.commit.authorEmail') ) `export default Controller` diff --git a/app/views/repo-show-tools.coffee b/app/views/repo-show-tools.coffee index 57b153f2..2f19aecd 100644 --- a/app/views/repo-show-tools.coffee +++ b/app/views/repo-show-tools.coffee @@ -9,7 +9,7 @@ View = BasicView.extend buildBinding: 'controller.build' jobBinding: 'controller.job' tabBinding: 'controller.tab' - currentUserBinding: 'controller.currentUser' + currentUserBinding: 'controller.currentUser.model' slugBinding: 'controller.repo.slug'