Add urgent scope and by_version method to SoftwareUpdate (#33470)
This commit is contained in:
1 parent
4cf031ee13
commit
ef39398b82
4 files changed
+32
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user