diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-02 20:59:47 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-02 20:59:47 +0200 |
commit | 642e64034c44216362a65e1bc8eebb1931146056 (patch) | |
tree | 84c5a197a99fd15baae8f7307ad026af287067af | |
parent | ce484fa9da2edd7e2be98600e2fe81770de31a90 (diff) | |
download | gitlab-ce-642e64034c44216362a65e1bc8eebb1931146056.tar.gz |
Fix crash on group => show
-rw-r--r-- | app/views/admin/groups/show.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
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) |