diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/admin/instances_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/instances_controller.rb b/app/controllers/admin/instances_controller.rb index 6dd659a30..b8118ac91 100644 --- a/app/controllers/admin/instances_controller.rb +++ b/app/controllers/admin/instances_controller.rb @@ -34,7 +34,7 @@ module Admin helper_method :paginated_instances def ordered_instances - paginated_instances.map { |resource| Instance.new(resource) } + paginated_instances.map { |resource| Instance.new(resource) }.sort_by(&:updated_at).reverse! end def filter_params |