aboutsummaryrefslogtreecommitdiff
path: root/app/views/shared/_jobs.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/_jobs.html.erb')
-rw-r--r--app/views/shared/_jobs.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_jobs.html.erb b/app/views/shared/_jobs.html.erb
index de6d7c1..951fa06 100644
--- a/app/views/shared/_jobs.html.erb
+++ b/app/views/shared/_jobs.html.erb
@@ -88,7 +88,7 @@
<% if job.args.last == 'build' %>
<%# TODO: Generalise this somehow %>
<dl class="dl-horizontal">
- <% @mini_environment.backend_data.each do |(key, value)| %>
+ <% (@mini_environment.try(:backend_data) || []).each do |(key, value)| %>
<dt><%= key %></dt>
<dd><pre><%= value %></pre></dd>
<% end %>