change thumb image to mobile size

This commit is contained in:
chiu committed 2020-10-02 15:01:02 +08:00
1 parent fb3f347f2f
commit f337e5580b
1 file changed
+1 -1
+1 -1
View File
@@ -118,7 +118,7 @@ class SpacesController < ApplicationController
images = []
unit.floor_sub_unit_images.each do |image|
images << {
"image-thumb-url" => image.image.thumb.url,
"image-thumb-url" => image.image.mobile.url,
"image-url" => image.image.url,
"alt-image" => unit.title
}