From 30e73104e4befee847853e137b352f1bcebe0f32 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 17 Apr 2014 16:25:06 +1000 Subject: [PATCH] Bump up to 200 for now, UI perf needs lots of work --- app/controllers/user_badges_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/user_badges_controller.rb b/app/controllers/user_badges_controller.rb index daba1ddc9f6..3dd527388d7 100644 --- a/app/controllers/user_badges_controller.rb +++ b/app/controllers/user_badges_controller.rb @@ -6,7 +6,7 @@ class UserBadgesController < ApplicationController user_badges = user.user_badges else badge = fetch_badge_from_params - user_badges = badge.user_badges.order('granted_at DESC').limit(20).to_a + user_badges = badge.user_badges.order('granted_at DESC').limit(200).to_a end render_serialized(user_badges, UserBadgeSerializer, root: "user_badges") end