fix for reltag search

This commit is contained in:
albert
2012-11-16 17:02:14 -05:00
parent aebeb90d38
commit 37cfed7d51

View File

@@ -35,7 +35,7 @@ protected
end
def related_tags
tag = Tag.named(query).first
tag = Tag.named(query.strip).first
if tag
tag.related_tag_array.map(&:first)