fix error after update carrierwave
This commit is contained in:
parent
fbb2b30d66
commit
41c2c6071a
|
@ -500,7 +500,7 @@ class Admin::GalleriesController < OrbitAdminController
|
||||||
theater_link: admin_image_path(values),
|
theater_link: admin_image_path(values),
|
||||||
description: values.description,
|
description: values.description,
|
||||||
title: values.title,
|
title: values.title,
|
||||||
file: values.file.as_json[:file],
|
file: values.file.as_json,
|
||||||
gallery_album_id: values.album_id,
|
gallery_album_id: values.album_id,
|
||||||
order: values.order,
|
order: values.order,
|
||||||
tags: values.tags}
|
tags: values.tags}
|
||||||
|
|
|
@ -221,7 +221,7 @@ class GalleriesController < ApplicationController
|
||||||
title: values.title,
|
title: values.title,
|
||||||
alt_title: alt_text,
|
alt_title: alt_text,
|
||||||
url: values.file.url,
|
url: values.file.url,
|
||||||
file: values.file.as_json[:file],
|
file: values.file.as_json,
|
||||||
gallery_album_id: values.album_id,
|
gallery_album_id: values.album_id,
|
||||||
tags: values.tags}
|
tags: values.tags}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue