Updated StatusFilter private scope functions
• Updated: - StatusFilter private scope functions
This commit is contained in:
parent
b4ba3c70ef
commit
154aaecc5f
|
@ -23,6 +23,8 @@ class StatusFilter
|
|||
scope
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def scope_for(key, value)
|
||||
case key.to_sym
|
||||
when :text
|
||||
|
@ -44,8 +46,6 @@ class StatusFilter
|
|||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def account_present?
|
||||
!account.nil?
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue