diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-13 23:16:51 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-19 19:58:26 +0300 |
commit | da9407927be1dd4a6b0b00be360e61d6bb507da8 (patch) | |
tree | 8f4d05af71ec6bedda2b5ada64a2899ff5447aca /app/finders/labels_finder.rb | |
parent | 6792644ae77476af88343d4a5b9e370326d331ea (diff) |
Remove unnecessary `title.present?` on LabelsFinder
Diffstat (limited to 'app/finders/labels_finder.rb')
-rw-r--r-- | app/finders/labels_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/labels_finder.rb b/app/finders/labels_finder.rb index 28110be7097..5ee2e1ee6e8 100644 --- a/app/finders/labels_finder.rb +++ b/app/finders/labels_finder.rb @@ -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 |