ecm_pictures2_backend 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce0f36da3bef9676cd20ae846bdf4e5192930ed1
|
4
|
+
data.tar.gz: d2347b3a3fcad6e1d664555471230c3d7f0b5030
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e322d6962198e1e76923b7576bb8c46ac72cef3853f2b02d79b8f7df4c3489be4c45e90cc82994fd99c525205e1cc7d4b045bc45de784614d7681d33cb34c2a
|
7
|
+
data.tar.gz: 8708eeedc87704e1cea1eb25f176e8d71b4b65e0df14862c9c527c090ead5b42b553698cedf02f43a4f18cb6383cc997f5fc1c7a5b2eec6159f0300c988fc42b
|
@@ -26,7 +26,7 @@ class Ecm::Pictures::Backend::PicturesController < Itsf::Backend::Resource::Base
|
|
26
26
|
image_base64 = processed_params[:ecm_pictures_picture].try(:delete, :image_base64)
|
27
27
|
if image_base64.present?
|
28
28
|
image = extract_image_base64(image_base64)
|
29
|
-
processed_params.merge!(image: image)
|
29
|
+
processed_params[:ecm_pictures_picture].merge!(image: image)
|
30
30
|
end
|
31
31
|
processed_params.require(:ecm_pictures_picture)
|
32
32
|
.permit(:picture_gallery_id, :name, :markup_language, :description, :image, :tag_list)
|