Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec57ca5 commit c1bf707Copy full SHA for c1bf707
app/controllers/badges_controller.rb
@@ -14,8 +14,8 @@ def index
14
if (params[:only_listable] == "true") || !request.xhr?
15
# NOTE: this is sorted client side if needed
16
badges = badges.includes(:badge_grouping)
17
+ .includes(:badge_type)
18
.where(enabled: true, listable: true)
-
19
end
20
21
badges = badges.to_a
0 commit comments