From: Martyn Taylor <mtaylor(a)redhat.com>
---
src/app/views/images/show.html.haml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/views/images/show.html.haml b/src/app/views/images/show.html.haml
index 7681cee..8feaeb3 100644
--- a/src/app/views/images/show.html.haml
+++ b/src/app/views/images/show.html.haml
@@ -55,7 +55,7 @@
%dt
.build-actions
%h3= group[:type].name
- - if @build and b = @builder.find_active_build((a)build.id, driver)
+ - if b = @builder.find_active_build_by_imageid((a)image.id, driver)
= label_tag b.status
- elsif timg
= button_to t('.delete'), image_target_image_path((a)image.id,
timg.id), :method => :delete
--
1.7.6.4