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
|
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
|
||||||
|
|
Loading…
Reference in New Issue