diff options
Diffstat (limited to 'app/controllers/api/v1/accounts/search_controller.rb')
-rw-r--r-- | app/controllers/api/v1/accounts/search_controller.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/api/v1/accounts/search_controller.rb b/app/controllers/api/v1/accounts/search_controller.rb index 11e647c3c..7649da433 100644 --- a/app/controllers/api/v1/accounts/search_controller.rb +++ b/app/controllers/api/v1/accounts/search_controller.rb @@ -22,8 +22,4 @@ class Api::V1::Accounts::SearchController < Api::BaseController following: truthy_param?(:following) ) end - - def truthy_param?(key) - params[key] == 'true' - end end |