FIX: should have been 'category_slug'

This commit is contained in:
Régis Hanol 2016-02-11 16:04:40 +01:00
parent 75a78e0518
commit 3bf931ce54
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ module PrettyText
def category_hashtag_lookup(category_slug) def category_hashtag_lookup(category_slug)
if category = Category.query_from_hashtag_slug(category_slug) if category = Category.query_from_hashtag_slug(category_slug)
[category.url_with_id, text] [category.url_with_id, category_slug]
else else
nil nil
end end