diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-06-18 19:12:17 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-06-18 19:12:17 +0000 |
commit | 3811ff5d95bd848f457c9d29a162ce83f12fe3ac (patch) | |
tree | 9e3f8a933f1ce6124350a69e205e4f6f18cc35cf /app/views/projects | |
parent | d48146c386c153f1ccaacfa45f420e09868570dd (diff) | |
download | redmine-3811ff5d95bd848f457c9d29a162ce83f12fe3ac.tar.gz redmine-3811ff5d95bd848f457c9d29a162ce83f12fe3ac.zip |
Deprecates Project#member_principals.
git-svn-id: http://svn.redmine.org/redmine/trunk@14332 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects')
-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 c9a91e3b1..31415f80e 100644 --- a/app/views/projects/settings/_members.html.erb +++ b/app/views/projects/settings/_members.html.erb @@ -1,5 +1,5 @@ <% roles = Role.find_all_givable - members = @project.member_principals.includes(:member_roles, :roles, :principal).to_a.sort %> + members = @project.memberships.active.includes(:member_roles, :roles, :principal).to_a.sort %> <p><%= link_to l(:label_member_new), new_project_membership_path(@project), :remote => true, :class => "icon icon-add" %></p> |