Rename scope "in_group" to "in_namespace"

This commit is contained in:
Andrey Kumanyaev 2012-12-26 14:22:12 +04:00
parent 1e3d238910
commit 634783feb0
2 changed files with 2 additions and 2 deletions

View file

@ -76,7 +76,7 @@
%tr{class: "user_#{u.id}"}
%td.name= link_to u.name, admin_user_path(u)
%td.projects_access
- u.projects.in_group(@group).each do |project|
- u.projects.in_namespace(@group).each do |project|
- u_p = u.users_projects.in_project(project).first
= "#{project.name} (#{link_to u_p.project_access_human, edit_admin_team_member_path(u_p) })".html_safe
%tr