small fix
This commit is contained in:
parent
8b8e5f4cb2
commit
e38e23c72a
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue