0
0
Fork 0

Add urgent scope and by_version method to SoftwareUpdate (#33470)

This commit is contained in:
Matt Jankowski 2025-01-06 13:23:57 -05:00 committed by GitHub
parent 4cf031ee13
commit ef39398b82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 32 additions and 3 deletions

View file

@ -6,7 +6,7 @@ module Admin
def index
authorize :software_update, :index?
@software_updates = SoftwareUpdate.all.sort_by(&:gem_version)
@software_updates = SoftwareUpdate.by_version
end
private