add album-name for front-end widget
This commit is contained in:
parent
809a9fa3b9
commit
ceda58f6da
|
@ -93,7 +93,8 @@ class GalleriesController < ApplicationController
|
|||
"thumb-large-src" => a.file.thumb_large.url,
|
||||
"image_description" => a.description,
|
||||
"mobile-src" => a.file.mobile.url,
|
||||
"theater-src" => a.file.theater.url
|
||||
"theater-src" => a.file.theater.url,
|
||||
"album-name" => a.album.name_translations[I18n.locale]
|
||||
}
|
||||
end
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue