From 39aaa181e1e948f16cdab997db983917c9a556ce Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Wed, 10 Feb 2016 17:08:57 +0800 Subject: [PATCH] FIX: Category hashtag is cooked incorrectly. --- lib/pretty_text.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pretty_text.rb b/lib/pretty_text.rb index eb9f079d779..d0a3c60329b 100644 --- a/lib/pretty_text.rb +++ b/lib/pretty_text.rb @@ -50,7 +50,7 @@ module PrettyText def category_hashtag_lookup(category_slug) if category = Category.query_from_hashtag_slug(category_slug) - category.url_with_id + [category.url_with_id, text] else nil end