small fix

This commit is contained in:
Harry Bomrah 2017-08-04 15:37:51 +08:00
parent 8b8e5f4cb2
commit e38e23c72a
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class EPapersController < ApplicationController
paper = Paper.find_by(:uid => params[:uid]) paper = Paper.find_by(:uid => params[:uid])
topics = paper.topics.collect do |topic| 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", "link_to_show" => OrbitHelper.url_to_show(topic.to_param) + "?method=showtopic",
"episode" => topic.episode, "episode" => topic.episode,