Fix rubocop nits

This commit is contained in:
Andreas Nedbal 2024-03-01 22:23:44 +01:00 committed by Andreas Nedbal
parent bba00ea415
commit 92c9ed011f
1 changed files with 4 additions and 4 deletions

View File

@ -57,7 +57,7 @@ class ApplicationController < ActionController::Base
else
Report.where(deleted: false)
.where("created_at > ?", current_user.last_reports_visit)
.count > 0
.count.positive?
end
end