fix error after update carrierwave

This commit is contained in:
chiu 2024-04-09 12:45:23 +00:00
parent 565a7fb8e4
commit ab19995fec
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ class CustomGalleriesController < ApplicationController
title: values.title,
alt_title: alt_text,
url: values.file.url,
file: values.file.as_json[:file],
file: values.file.as_json,
custom_gallery_custom_album_id: values.custom_album_id,
tags: values.tags}
end