Commit 642e64034c44216362a65e1bc8eebb1931146056
1 parent
ce484fa9
Exists in
master
and in
4 other branches
Fix crash on group => show
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/views/admin/groups/show.html.haml
... | ... | @@ -78,6 +78,7 @@ |
78 | 78 | %td.projects_access |
79 | 79 | - u.authorized_projects.in_namespace(@group).each do |project| |
80 | 80 | - u_p = u.users_projects.in_project(project).first |
81 | + - next unless u_p | |
81 | 82 | %span |
82 | 83 | = project.name |
83 | 84 | = link_to "(#{ u_p.project_access_human })", edit_admin_team_member_path(u_p) | ... | ... |