change thumb image to mobile size

This commit is contained in:
chiu 2020-10-02 15:01:02 +08:00
parent fb3f347f2f
commit f337e5580b
1 changed files with 1 additions and 1 deletions

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
}