From 154aaecc5f23a09135ae602aa24bdae652c705e4 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Mon, 25 Jan 2021 15:58:52 -0500 Subject: [PATCH] Updated StatusFilter private scope functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Updated: - StatusFilter private scope functions --- app/lib/status_filter.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/lib/status_filter.rb b/app/lib/status_filter.rb index db90b4ba..821a2b56 100644 --- a/app/lib/status_filter.rb +++ b/app/lib/status_filter.rb @@ -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