Remove some deprecations

This commit is contained in:
Piotr Sarnacki 2015-04-30 12:36:55 +02:00
parent a4a75912b0
commit 193a005434
2 changed files with 4 additions and 4 deletions

View File

@ -6,15 +6,15 @@
Controller = Ember.ObjectController.extend(GithubUrlProperties, Controller = Ember.ObjectController.extend(GithubUrlProperties,
needs: ['builds'] needs: ['builds']
isPullRequestsListBinding: 'controllers.builds.isPullRequestsList' isPullRequestsListBinding: 'controllers.builds.isPullRequestsList'
buildBinding: 'content' buildBinding: 'model'
color: (-> color: (->
colorForState(@get('build.state')) colorForState(@get('build.state'))
).property('build.state') ).property('build.state')
urlAuthorGravatarImage: (-> urlAuthorGravatarImage: (->
gravatarImage(@get('commit.authorEmail'), 40) gravatarImage(@get('build.commit.authorEmail'), 40)
).property('commit.authorEmail') ).property('build.commit.authorEmail')
) )
`export default Controller` `export default Controller`

View File

@ -9,7 +9,7 @@ View = BasicView.extend
buildBinding: 'controller.build' buildBinding: 'controller.build'
jobBinding: 'controller.job' jobBinding: 'controller.job'
tabBinding: 'controller.tab' tabBinding: 'controller.tab'
currentUserBinding: 'controller.currentUser' currentUserBinding: 'controller.currentUser.model'
slugBinding: 'controller.repo.slug' slugBinding: 'controller.repo.slug'