theater and mobile url added to gallery

This commit is contained in:
Harry Bomrah 2015-10-07 18:09:08 +08:00
parent 1b293c185e
commit 1628c0d3d2
1 changed files with 3 additions and 1 deletions

View File

@ -66,7 +66,9 @@ class GalleriesController < ApplicationController
{
"link_to_show" => OrbitHelper.widget_more_url + "/" + a.album.to_param + "#" + a.id.to_s,
"alt_title" => alt_text,
"thumb-src" => a.file.thumb.url
"thumb-src" => a.file.thumb.url,
"mobile-src" => a.file.mobile.url,
"theater-src" => a.file.theater.url
}
end
{