File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ def unfollow_team!(team)
351
351
end
352
352
353
353
def teams_being_followed
354
- Team . find ( followed_teams . collect ( & :team_id ) ) . sort { | x , y | y . score <=> x . score }
354
+ Team . where ( id : followed_teams . pluck ( :team_id ) ) . order ( : score)
355
355
end
356
356
357
357
def on_team?
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ html.no-js lang=(I18n.locale)
27
27
# x-following-networks .hide data-networks =(current_user.following_networks.pluck(:slug))
28
28
# x-following-teams .hide data-teams =current_user.teams_being_followed.pluck(:name)
29
29
30
- = javascript_include_tag 'application '
30
+ = javascript_include_tag 'coderwall '
31
31
= render 'shared/mixpanel_properties'
32
32
= javascript_include_tag 'highlight/highlight.js'
33
33
= javascript_include_tag 'highlight/language.js'
You can’t perform that action at this time.
0 commit comments