diff options
Diffstat (limited to 'app/views/projects/settings/_members.html.erb')
-rw-r--r-- | app/views/projects/settings/_members.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/settings/_members.html.erb b/app/views/projects/settings/_members.html.erb index fa7999687..7b2eaac87 100644 --- a/app/views/projects/settings/_members.html.erb +++ b/app/views/projects/settings/_members.html.erb @@ -1,6 +1,6 @@ <%= error_messages_for 'member' %> <% roles = Role.find_all_givable - members = @project.member_principals.find(:all, :include => [:roles, :principal]).sort %> + members = @project.member_principals.includes(:roles, :principal).all.sort %> <div class="splitcontentleft"> <% if members.any? %> |