Skip to content

Commit

Permalink
Change badge user list limit to 96 so that it is divisible by 8.
Browse files Browse the repository at this point in the history
  • Loading branch information
vikhyat committed May 19, 2014
1 parent 6b7b328 commit 4de700b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/user_badges_controller.rb
Expand Up @@ -7,7 +7,7 @@ def index
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]
Expand Down

0 comments on commit 4de700b

Please sign in to comment.