From 6b1fffca32c61851f396d0ead44013b5c789c3ad Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 5 Jul 2018 13:35:53 +0100 Subject: Show the most recent mini environments at the top --- app/views/mini_environments/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/mini_environments/index.html.erb b/app/views/mini_environments/index.html.erb index a5c0a5e..3d57c5b 100644 --- a/app/views/mini_environments/index.html.erb +++ b/app/views/mini_environments/index.html.erb @@ -31,7 +31,7 @@ License along with the GOV.UK Mini Environment Admin. If not, see

Mini environments


-<% MiniEnvironment.all.each do |mini_environment| %> +<% MiniEnvironment.order(id: :desc).each do |mini_environment| %> <% status = mini_environment.status %> -- cgit v1.2.3