aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/mini_environments/show.html.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/mini_environments/show.html.erb b/app/views/mini_environments/show.html.erb
index a4d8588..ac4a2bf 100644
--- a/app/views/mini_environments/show.html.erb
+++ b/app/views/mini_environments/show.html.erb
@@ -62,7 +62,9 @@ License along with the GOV.UK Mini Environment Admin. If not, see
<div class="col-md-9">
<%= render(
partial: 'shared/jobs',
- locals: { jobs: jobs }
+ locals: {
+ jobs: MiniEnvironmentJob.jobs(@mini_environment.id).order(id: :desc)
+ }
) %>
</div>
</div>