This commit is contained in:
albert
2013-03-02 21:27:04 -05:00
parent 3a262d0d50
commit 857b86fabe

View File

@@ -11,8 +11,10 @@ class RelatedTagQuery
pattern_matching_tags pattern_matching_tags
elsif category.present? elsif category.present?
related_tags_by_category related_tags_by_category
else elsif query.present?
related_tags related_tags
else
[]
end end
end end