From 67b4005aa88168d5da9ad071994240a358756a3e Mon Sep 17 00:00:00 2001 From: jazairi <16103405+jazairi@users.noreply.github.com> Date: Tue, 6 Feb 2024 16:47:57 -0500 Subject: [PATCH] Rubocop --- app/helpers/results_helper.rb | 2 +- app/views/search/_filter.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/results_helper.rb b/app/helpers/results_helper.rb index 13302e6c..5889faef 100644 --- a/app/helpers/results_helper.rb +++ b/app/helpers/results_helper.rb @@ -1,5 +1,5 @@ module ResultsHelper def results_summary(hits) - hits.to_i >= 10000 ? '10,000+ items' : "#{number_with_delimiter(hits)} items" + hits.to_i >= 10_000 ? '10,000+ items' : "#{number_with_delimiter(hits)} items" end end diff --git a/app/views/search/_filter.html.erb b/app/views/search/_filter.html.erb index 95a13de1..63fdb3a1 100644 --- a/app/views/search/_filter.html.erb +++ b/app/views/search/_filter.html.erb @@ -2,7 +2,7 @@