From 8244532c5a0fa5e00a3501b376c5d0d4fe329af7 Mon Sep 17 00:00:00 2001 From: f Date: Sat, 30 Apr 2022 18:30:24 -0300 Subject: [PATCH] fixup! ordenar de menor a mayor --- app/controllers/stats_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/stats_controller.rb b/app/controllers/stats_controller.rb index 07755c73..36b72721 100644 --- a/app/controllers/stats_controller.rb +++ b/app/controllers/stats_controller.rb @@ -55,7 +55,7 @@ class StatsController < ApplicationController v * nodes end .sort_by do |_, v| - v.last + v end.reverse.to_h end end