Fix updating times on repo page

This commit is contained in:
Piotr Sarnacki 2013-07-23 17:13:29 +02:00
parent 831540af88
commit 76af32013b

View File

@ -14,7 +14,7 @@ Travis.RepoController = Travis.Controller.extend
if builds = @get('builds')
builds.forEach (b) -> b.updateTimes()
if build = @get('build')
if build = @get('controllers.build.build')
build.updateTimes()
if build && jobs = build.get('jobs')