diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-05-03 13:04:47 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-05-03 13:04:47 +0200 |
commit | 774af93027a5e1758adac00eb61178ecd85567ed (patch) | |
tree | 3041e03b7f28f7922959de2fa262efce6ea210ce /app | |
parent | d8440b3035667623c87fe84b5a58c68da4ff936f (diff) | |
download | gitlab-ce-774af93027a5e1758adac00eb61178ecd85567ed.tar.gz |
Remove go to dashboard test suite for group page and get rid of AR warning
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/views/layouts/nav/_group.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/nav/_group.html.haml b/app/views/layouts/nav/_group.html.haml index bc5ce7052e4..87ee765b8f2 100644 --- a/app/views/layouts/nav/_group.html.haml +++ b/app/views/layouts/nav/_group.html.haml @@ -16,7 +16,7 @@ %li = link_to edit_group_path(@group) do Edit Group - - if access = @group.users.find(current_user) + - if access = @group.users.find(current_user.id) %li = link_to leave_group_group_members_path(@group), data: { confirm: leave_group_message(@group.name) }, method: :delete, title: 'Leave group' do |