changes gallery order images

This commit is contained in:
decabeza
2017-10-06 16:44:26 +02:00
parent 47ee8a2f79
commit 1933cf62fa

View File

@@ -16,7 +16,7 @@
</button>
</li>
<% answer.images.each_with_index do |image, index| %>
<% answer.images.reverse.each_with_index do |image, index| %>
<li class="orbit-slide <%= active_class(index) %>">
<%= link_to image.attachment.url(:original), target: "_blank" do %>
<%= image_tag image.attachment.url(:medium),