回答編集履歴
1
typo
test
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
<% Group
|
29
|
+
<% Group.preload(:joined_group_accounts).each do |group| %>
|
30
30
|
|
31
31
|
<% if group.joined_group_accounts.map(&:account_id).include?(current_account.id) %>
|
32
32
|
|
@@ -66,7 +66,7 @@
|
|
66
66
|
|
67
67
|
|
68
68
|
|
69
|
-
<% Group
|
69
|
+
<% Group.preload(:joined_accounts).each do |group| %>
|
70
70
|
|
71
71
|
<% if group.joined_accounts.include?(current_account) %>
|
72
72
|
|