solving page duplication error on deleting page

pull/150/merge^2
iozeey 2 years ago
parent 1b26220042
commit 135b0206c2

@ -171,7 +171,7 @@ module Templates
remaining_images = document.preview_images
remaining_images.each_with_index do |image, index|
new_filename = "#{index}.jpeg"
new_filename = "#{index}.jpg"
image.blob.update!(filename: new_filename)
end
rescue StandardError => e

Loading…
Cancel
Save