From 806f40fc269e1150e878c9e5871ad4fc6478a7d8 Mon Sep 17 00:00:00 2001 From: Bohung Date: Mon, 24 May 2021 15:40:26 +0800 Subject: [PATCH] Fix bug. --- app/controllers/galleries_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/galleries_controller.rb b/app/controllers/galleries_controller.rb index ba57a8d..9a52b83 100644 --- a/app/controllers/galleries_controller.rb +++ b/app/controllers/galleries_controller.rb @@ -160,7 +160,7 @@ class GalleriesController < ApplicationController "album-name" => a.name, "album-description" => a.description, "alt_title" => alt_text, - "link_to_show" => OrbitHelper.url_to_show(a.to_param), + "link_to_show" => OrbitHelper.widget_more_url + "/" + a.to_param, "src" => thumb_src.gsub("thumb_",""), "thumb-src" => thumb_src, "thumb-large-src" => thumb_src.gsub("thumb_","thumb_large_"),