Merge pull request 'master' (#18) from 123/seminar:master into master

Reviewed-on: https://gitlab.tp.rulingcom.com/spen/seminar/pulls/18
This commit is contained in:
chiu 2024-04-09 13:06:06 +00:00
commit be3af16a12
2 changed files with 2 additions and 2 deletions

View File

@ -502,7 +502,7 @@ class Admin::CustomGalleriesController < OrbitAdminController
theater_link: admin_image_path(values),
description: values.description,
title: values.title,
file: values.file.as_json[:file],
file: values.file.as_json,
custom_gallery_custom_album_id: values.custom_album_id,
order: values.order,
tags: values.tags}

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