FIX: should have been 'category_slug'
This commit is contained in:
parent
75a78e0518
commit
3bf931ce54
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue