summaryrefslogtreecommitdiffstats
path: root/app/views/principal_memberships/_index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/principal_memberships/_index.html.erb')
-rw-r--r--app/views/principal_memberships/_index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/principal_memberships/_index.html.erb b/app/views/principal_memberships/_index.html.erb
index e43419072..508e2e271 100644
--- a/app/views/principal_memberships/_index.html.erb
+++ b/app/views/principal_memberships/_index.html.erb
@@ -1,4 +1,4 @@
-<% memberships = principal.memberships.preload(:member_roles => :role).sorted_by_project.to_a %>
+<% memberships = principal.memberships.preload(:member_roles, :roles).sorted_by_project.to_a %>
<p><%= link_to l(:label_add_projects), new_principal_membership_path(principal), :remote => true, :class => "icon icon-add" %></p>