small fix for widget

This commit is contained in:
Harry Bomrah 2017-08-17 15:19:07 +08:00
parent 3171868237
commit 4ebb7d4bf4
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class HpsLearningsController < ApplicationController
{ {
"title" => hpsclass.title, "title" => hpsclass.title,
"thumb_url" => thumb, "thumb_url" => thumb,
"link_to_show" => OrbitHelper.url_to_show(hpsclass.to_param), "link_to_show" => OrbitHelper.widget_item_url(hpsclass.to_param),
} }
end end
{ {