Remove unnecessary `title.present?` on LabelsFinder

parent 6792644a
......@@ -33,7 +33,7 @@ class LabelsFinder < UnionFinder
end
def with_title(items)
items = items.where(title: title) if title.present?
items = items.where(title: title) if title
items
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment