From b5276ef4a60331be1bbf7e05e32fa3e705f3df35 Mon Sep 17 00:00:00 2001 From: Mathias Meyer Date: Fri, 12 Dec 2014 18:21:46 +0100 Subject: [PATCH] Hacky fix to make the status images work again. The bindings are a bit odd in this setup. The status images view reaches into the repos/show view to fetch relevant information. --- assets/scripts/app/views/repo/show.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/scripts/app/views/repo/show.coffee b/assets/scripts/app/views/repo/show.coffee index 34fec3e0..d19abc12 100644 --- a/assets/scripts/app/views/repo/show.coffee +++ b/assets/scripts/app/views/repo/show.coffee @@ -3,6 +3,10 @@ Travis.reopen templateName: 'repos/show' reposBinding: 'controllers.repos' + repoBinding: 'controller.repo' + buildBinding: 'controller.build' + jobBinding: 'controller.job' + tabBinding: 'controller.tab' classNameBindings: ['controller.isLoading:loading']