From 1628c0d3d24ae86ebf4fae61708efdf81f7408c4 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Wed, 7 Oct 2015 18:09:08 +0800 Subject: [PATCH] theater and mobile url added to gallery --- app/controllers/galleries_controller.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/controllers/galleries_controller.rb b/app/controllers/galleries_controller.rb index 6980af8..8ff9967 100644 --- a/app/controllers/galleries_controller.rb +++ b/app/controllers/galleries_controller.rb @@ -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 {