From 4ebb7d4bf4132494e294f499a671d8b9727fca0e Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Thu, 17 Aug 2017 15:19:07 +0800 Subject: [PATCH] small fix for widget --- app/controllers/hps_learnings_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/hps_learnings_controller.rb b/app/controllers/hps_learnings_controller.rb index 2779120..d4520f4 100644 --- a/app/controllers/hps_learnings_controller.rb +++ b/app/controllers/hps_learnings_controller.rb @@ -59,7 +59,7 @@ class HpsLearningsController < ApplicationController { "title" => hpsclass.title, "thumb_url" => thumb, - "link_to_show" => OrbitHelper.url_to_show(hpsclass.to_param), + "link_to_show" => OrbitHelper.widget_item_url(hpsclass.to_param), } end {