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 = [] images = []
unit.floor_sub_unit_images.each do |image| unit.floor_sub_unit_images.each do |image|
images << { images << {
"image-thumb-url" => image.image.thumb.url, "image-thumb-url" => image.image.mobile.url,
"image-url" => image.image.url, "image-url" => image.image.url,
"alt-image" => unit.title "alt-image" => unit.title
} }