diff options
author | Christopher Baines <mail@cbaines.net> | 2018-03-29 07:00:29 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-04-03 21:58:55 +0100 |
commit | 8a5d96490debc19157bd74d992cbe121bce65c01 (patch) | |
tree | 9c987c71638bf60623d72dc1b5432d9acab84235 /app/views | |
parent | af6f2b6157e2a82ea45607b246ff320b0bf6413f (diff) | |
download | govuk-mini-environment-admin-8a5d96490debc19157bd74d992cbe121bce65c01.tar govuk-mini-environment-admin-8a5d96490debc19157bd74d992cbe121bce65c01.tar.gz |
Specify the ordering for revisions
And update the show page to use the default scope.
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/setup/show.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/setup/show.html.erb b/app/views/setup/show.html.erb index 6f8be35..4fea193 100644 --- a/app/views/setup/show.html.erb +++ b/app/views/setup/show.html.erb @@ -59,8 +59,8 @@ </a> <% end %> <% end %> - - <% GovukGuix::Revision.order(:created_at).reverse_order.each do |revision| %> + + <% GovukGuix::Revision.all.each do |revision| %> <a href="<%= govuk_guix_revision_path(revision) %>" class="list-group-item"> <span class="badge" style="font-family: monospace;"> <%= revision.commit_hash %> |