Change badge user list limit to 96 so that it is divisible by 8.

This commit is contained in:
Vikhyat Korrapati 2014-05-19 10:32:59 +05:30
parent 6b7b328c66
commit 4de700b49b
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,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(100)
user_badges = badge.user_badges.order('granted_at DESC').limit(96)
end
if params[:granted_before]