From 642e64034c44216362a65e1bc8eebb1931146056 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Wed, 2 Jan 2013 20:59:47 +0200 Subject: [PATCH] Fix crash on group => show --- app/views/admin/groups/show.html.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/admin/groups/show.html.haml b/app/views/admin/groups/show.html.haml index a17b431de26..0a25b125905 100644 --- a/app/views/admin/groups/show.html.haml +++ b/app/views/admin/groups/show.html.haml @@ -78,6 +78,7 @@ %td.projects_access - u.authorized_projects.in_namespace(@group).each do |project| - u_p = u.users_projects.in_project(project).first + - next unless u_p %span = project.name = link_to "(#{ u_p.project_access_human })", edit_admin_team_member_path(u_p)