diff options
author | Christopher Baines <mail@cbaines.net> | 2019-01-06 13:03:41 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-01-06 13:03:41 +0000 |
commit | 9f5998031761f5c8ffd877f2fa84456c4d0bc4ca (patch) | |
tree | d335c56dcd63f4aa9c3fb6f62d3c9daa5e79fcfd | |
parent | 503ad56e7aeae6050ef98477b3a60f6b4c9f59cf (diff) | |
download | govuk-mini-environment-admin-9f5998031761f5c8ffd877f2fa84456c4d0bc4ca.tar govuk-mini-environment-admin-9f5998031761f5c8ffd877f2fa84456c4d0bc4ca.tar.gz |
Don't allow using archived revisions
-rw-r--r-- | app/views/mini_environments/new.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
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 <div class="col-sm-10"> <%= f.collection_select( :govuk_guix_revision_id, - GovukGuix::Revision.all, + GovukGuix::Revision.where(archived: false), :commit_hash, :commit_hash, {}, |