From e38e23c72ac4439c0943ffbfe9918087752ced4c Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Fri, 4 Aug 2017 15:37:51 +0800 Subject: [PATCH] small fix --- app/controllers/e_papers_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/e_papers_controller.rb b/app/controllers/e_papers_controller.rb index 6ecd35c..5c1c0de 100644 --- a/app/controllers/e_papers_controller.rb +++ b/app/controllers/e_papers_controller.rb @@ -51,7 +51,7 @@ class EPapersController < ApplicationController paper = Paper.find_by(:uid => params[:uid]) topics = paper.topics.collect do |topic| - desc = ActionView::Helpers::SanitizeHelper.strip_tags(topic.content) + desc = strip_tags(topic.content) { "link_to_show" => OrbitHelper.url_to_show(topic.to_param) + "?method=showtopic", "episode" => topic.episode,