From 62322318da45f4ce9999563c4fd6f2c5f30a945d Mon Sep 17 00:00:00 2001 From: Gosha Arinich Date: Sat, 21 Sep 2013 21:31:12 +0300 Subject: [PATCH] get rid of 'controllerFor' deprecation warnings --- assets/scripts/app/controllers/repo.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/scripts/app/controllers/repo.coffee b/assets/scripts/app/controllers/repo.coffee index d6fa09af..5b326071 100644 --- a/assets/scripts/app/controllers/repo.coffee +++ b/assets/scripts/app/controllers/repo.coffee @@ -51,7 +51,7 @@ Travis.RepoController = Travis.Controller.extend lastBuildDidChange: -> build = @get('repo.lastBuild') - @controllerFor('build').set('build', build) + @set('build', build) stopObservingLastBuild: -> @removeObserver('repo.lastBuild', this, 'lastBuildDidChange')