FIX: render emoji in topic title
This commit is contained in:
parent
6af864b969
commit
028eb8c05a
|
@ -1,7 +1,8 @@
|
||||||
module TopicsHelper
|
module TopicsHelper
|
||||||
|
include ApplicationHelper
|
||||||
|
|
||||||
def render_topic_title(topic)
|
def render_topic_title(topic)
|
||||||
link_to(topic.title,topic.relative_url)
|
link_to(gsub_emoji_to_unicode(topic.title),topic.relative_url)
|
||||||
end
|
end
|
||||||
|
|
||||||
def categories_breadcrumb(topic)
|
def categories_breadcrumb(topic)
|
||||||
|
|
Loading…
Reference in New Issue