Remove unnecessary title.present?
on LabelsFinder
This commit is contained in:
parent
6792644ae7
commit
da9407927b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue