From 9f5998031761f5c8ffd877f2fa84456c4d0bc4ca Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 6 Jan 2019 13:03:41 +0000 Subject: Don't allow using archived revisions --- app/views/mini_environments/new.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/views/mini_environments/new.html.erb b/app/views/mini_environments/new.html.erb index 3180818..720d5dd 100644 --- a/app/views/mini_environments/new.html.erb +++ b/app/views/mini_environments/new.html.erb @@ -145,7 +145,7 @@ License along with the GOV.UK Mini Environment Admin. If not, see
<%= f.collection_select( :govuk_guix_revision_id, - GovukGuix::Revision.all, + GovukGuix::Revision.where(archived: false), :commit_hash, :commit_hash, {}, -- cgit v1.2.3