Updated StatusFilter private scope functions

• Updated:
- StatusFilter private scope functions
This commit is contained in:
mgabdev 2021-01-25 15:58:52 -05:00
parent b4ba3c70ef
commit 154aaecc5f
1 changed files with 2 additions and 2 deletions

View File

@ -23,6 +23,8 @@ class StatusFilter
scope scope
end end
private
def scope_for(key, value) def scope_for(key, value)
case key.to_sym case key.to_sym
when :text when :text
@ -44,8 +46,6 @@ class StatusFilter
end end
end end
private
def account_present? def account_present?
!account.nil? !account.nil?
end end